blob: 0361bf6e7e8fd97e7a7e720bd602ba79585fbd0c (
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
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
|
## 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.
Note: if conflicting preprocessor options are passed, the options
specified by the package's build system take precedence over those
specified here.
config TARGET_EXTRA_CFLAGS
string
prompt "Extra CFLAGS (c)"
help
Extra options for the C compiler.
Note: if conflicting compiler options are passed, the options
specified by the package's build system take precedence over those
specified here.
config TARGET_EXTRA_CXXFLAGS
string
prompt "Extra CXXFLAGS (c++)"
help
Extra options for the C++ compiler.
Note: if conflicting compiler options are passed, the options
specified by the package's build system take precedence over those
specified here.
config TARGET_EXTRA_LDFLAGS
string
prompt "Extra LDFLAGS (ld)"
help
Extra options for the linker.
Note: if conflicting linker options are passed, the options
specified by the package's build system take precedence over those
specified here.
endmenu
|