blob: afae2a67cd11e3f3f52e1a52985b8a51343eb5a3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
|
## SECTION=architecture_options
menu "extra toolchain options "
choice
prompt "linker hash-style"
default TARGET_LINKER_HASH_DEFAULT
config TARGET_LINKER_HASH_DEFAULT
bool
prompt "default "
help
don't change the default linker hash style
config TARGET_LINKER_HASH_SYSV
bool
prompt "sysv "
help
add "--hash-style=sysv" to the linker options
config TARGET_LINKER_HASH_GNU
bool
prompt "gnu "
help
add "--hash-style=gnu" to the linker options
config TARGET_LINKER_HASH_BOTH
bool
prompt "gnu & sysv"
help
add "--hash-style=both" to the linker options
endchoice
config TARGET_LINKER_AS_NEEDED
bool
prompt "Link only needed libraries (ld --as-needed)"
help
tell the linker to link in the produced binary only the libraries
containing symbols actually used by the binary itself.
choice
prompt "debugging"
default TARGET_DEBUG_KEEP
config TARGET_DEBUG_OFF
bool
prompt "disabled (force) "
help
Disable by force by adding '-g0' to the compiler
command-line.
config TARGET_DEBUG_KEEP
bool
prompt "unchanged "
help
Add no debugging options to the compiler command-line.
config TARGET_DEBUG_ENABLE
bool
prompt "enabled "
help
Enable debugging by adding "-g" to the compiler
command-line.
config TARGET_DEBUG_FULL
bool
prompt "enabled (full) "
help
Enable debugging by adding "-ggdb3" to the compiler
command-line.
endchoice
config TARGET_COMPILER_RECORD_SWITCHES
bool
prompt "store compiler flags (-frecord-gcc-switches)"
default !TARGET_BUILD_ID
help
Can be read with the 'readelf' tool from the used toolchain and the
command line option '-p .GCC.command.line' on any object file or
the corresponding .debug/.<whatever>.dbg file.
Note: This section is included when the build-id is calculated.
This section contains absolute build paths and possible temporary
filenames generated by icecc. As a result, with this option
enabled, the final binary will likely be different each time a
package is rebuilt.
config TARGET_BUILD_ID
bool
default y
config TARGET_EXTRA_CPPFLAGS
string
prompt "Extra CPPFLAGS (cpp)"
help
Extra options for the C preprocessor.
config TARGET_EXTRA_CFLAGS
string
prompt "Extra CFLAGS (c)"
help
Extra options for the C compiler.
config TARGET_EXTRA_CXXFLAGS
string
prompt "Extra CXXFLAGS (c++)"
help
Extra options for the C++ compiler.
config TARGET_EXTRA_LDFLAGS
string
prompt "Extra LDFLAGS (ld)"
help
Extra options for the linker.
endmenu
|