1 # Generic toolchain options
3 # we want gdb config in the middle of both source and external
4 # toolchains, but mconf won't let us source the same file twice,
5 # so put it here instead
6 source "package/gdb/Config.in.host"
8 config BR2_TOOLCHAIN_HAS_NATIVE_RPC
14 config BR2_ENABLE_LOCALE
17 config BR2_INSTALL_LIBSTDCPP
20 config BR2_TOOLCHAIN_HAS_THREADS
23 config BR2_TOOLCHAIN_HAS_THREADS_DEBUG
26 config BR2_TOOLCHAIN_HAS_THREADS_NPTL
29 config BR2_TOOLCHAIN_HAS_SHADOW_PASSWORDS
32 config BR2_TOOLCHAIN_HAS_SSP
35 config BR2_ENABLE_LOCALE_PURGE
36 bool "Purge unwanted locales"
38 Explicitly specify what locales to install on target. If N
39 then all locales supported by packages are installed.
41 config BR2_ENABLE_LOCALE_WHITELIST
42 string "Locales to keep"
43 default "C en_US de fr"
44 depends on BR2_ENABLE_LOCALE_PURGE
46 Whitespace seperated list of locales to allow on target.
47 Locales not listed here will be removed from the target.
48 See 'locale -a' on your host for a list of locales available
49 on your build host, or have a look in /usr/share/locale in
50 the target file system for available locales.
52 Notice that listing a locale here doesn't guarantee that it
53 will be available on the target - That purely depends on the
54 support for that locale in the selected packages.
56 config BR2_GENERATE_LOCALE
57 string "Generate locale data"
60 (BR2_TOOLCHAIN_BUILDROOT_UCLIBC && BR2_ENABLE_LOCALE) || \
61 BR2_TOOLCHAIN_USES_GLIBC
63 Generate support for a list of locales. Locales can be
64 specified with or without encoding, when no encoding is
65 specified, UTF-8 is assumed. Examples of locales: en_US,
68 config BR2_TOOLCHAIN_GLIBC_GCONV_LIBS_COPY
69 bool "Copy gconv libraries"
70 depends on BR2_TOOLCHAIN_USES_GLIBC
72 The gconv libraries are used to convert between different
73 character sets (charsets).
75 Say 'y' if you need to store and/or display different charsets.
77 config BR2_TOOLCHAIN_GLIBC_GCONV_LIBS_LIST
78 string "Gconv libraries to copy"
79 depends on BR2_TOOLCHAIN_GLIBC_GCONV_LIBS_COPY
81 Set to the list of gconv libraries to copy.
82 Leave empty to copy all gconv libraries.
84 Specify only the basename of the libraries, leave
85 out the .so extension. Eg.:
86 IBM850 ISO8859-15 UNICODE
88 Note: the full set of gconv libs are ~8MiB (on ARM).
90 # glibc and eglibc directly include gettext, so a separatly compiled
91 # gettext isn't needed and shouldn't be built to avoid conflicts. Some
92 # packages always need gettext, other packages only need gettext when
93 # locale support is enabled. See the documentation for how packages
94 # should rely on the following two options.
96 config BR2_NEEDS_GETTEXT
98 default y if BR2_TOOLCHAIN_USES_UCLIBC
100 config BR2_NEEDS_GETTEXT_IF_LOCALE
102 default y if (BR2_NEEDS_GETTEXT && BR2_ENABLE_LOCALE)
105 bool "Enable MMU support" if BR2_ARCH_HAS_MMU_OPTIONAL
106 default y if BR2_ARCH_HAS_MMU_OPTIONAL || BR2_ARCH_HAS_MMU_MANDATORY
108 If your target has a MMU, you should say Y here. If you
109 are unsure, just say Y.
111 config BR2_TARGET_OPTIMIZATION
112 string "Target Optimizations"
115 Optimizations to use when building for the target host.
116 NOTE: gcc optimization level is defined in build options.
118 config BR2_TARGET_LDFLAGS
119 string "Target linker options"
121 Extra options to pass to the linker when building for the target.
123 Note that options with a '$' sign (eg. -Wl,-rpath='$ORIGIN/../lib')
126 config BR2_ECLIPSE_REGISTER
127 bool "Register toolchain within Eclipse Buildroot plug-in"
129 This options tells Buildroot to generate the necessary
130 configuration files to make your toolchain appear within
131 Eclipse, through the Eclipse Buildroot plugin.
133 # Options for packages to depend on, if they require at least a
134 # specific version of the kernel headers.
135 # Toolchains should choose the adequate option (ie. the highest
136 # version, not all of them).
137 config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0
140 config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_1
142 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0
144 config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_2
146 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_1
148 config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_3
150 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_2
152 config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4
154 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_3
156 config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_5
158 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4
160 config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_6
162 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_5
164 config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_7
166 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_6
168 config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_8
170 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_7
172 config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_9
174 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_8
176 config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_10
178 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_9
180 config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_11
182 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_10
184 config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12
186 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_11
188 config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_13
190 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12
192 config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_14
194 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_13
196 config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_15
198 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_14
200 config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_16
202 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_15
204 config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_17
206 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_16
208 config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_18
210 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_17
212 config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_19
214 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_18
216 config BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_0
218 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_19
220 config BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_1
222 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_0
224 config BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_2
226 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_1
228 config BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_3
230 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_2
232 config BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_4
234 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_3
236 # This order guarantees that the highest version is set, as kconfig
237 # stops affecting a value on the first matching default.
238 config BR2_TOOLCHAIN_HEADERS_AT_LEAST
240 default "4.4" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_4
241 default "4.3" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_3
242 default "4.2" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_2
243 default "4.1" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_1
244 default "4.0" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_0
245 default "3.19" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_19
246 default "3.18" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_18
247 default "3.17" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_17
248 default "3.16" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_16
249 default "3.15" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_15
250 default "3.14" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_14
251 default "3.13" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_13
252 default "3.12" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12
253 default "3.11" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_11
254 default "3.10" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_10
255 default "3.9" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_9
256 default "3.8" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_8
257 default "3.7" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_7
258 default "3.6" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_6
259 default "3.5" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_5
260 default "3.4" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4
261 default "3.3" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_3
262 default "3.2" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_2
263 default "3.1" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_1
264 default "3.0" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0
267 config BR2_TOOLCHAIN_GCC_AT_LEAST_4_3
270 config BR2_TOOLCHAIN_GCC_AT_LEAST_4_4
272 select BR2_TOOLCHAIN_GCC_AT_LEAST_4_3
274 config BR2_TOOLCHAIN_GCC_AT_LEAST_4_5
276 select BR2_TOOLCHAIN_GCC_AT_LEAST_4_4
278 config BR2_TOOLCHAIN_GCC_AT_LEAST_4_6
280 select BR2_TOOLCHAIN_GCC_AT_LEAST_4_5
282 config BR2_TOOLCHAIN_GCC_AT_LEAST_4_7
284 select BR2_TOOLCHAIN_GCC_AT_LEAST_4_6
286 config BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
288 select BR2_TOOLCHAIN_GCC_AT_LEAST_4_7
290 config BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
292 select BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
294 config BR2_TOOLCHAIN_GCC_AT_LEAST_5
296 select BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
298 # This order guarantees that the highest version is set, as kconfig
299 # stops affecting a value on the first matching default.
300 config BR2_TOOLCHAIN_GCC_AT_LEAST
302 default "5" if BR2_TOOLCHAIN_GCC_AT_LEAST_5
303 default "4.9" if BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
304 default "4.8" if BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
305 default "4.7" if BR2_TOOLCHAIN_GCC_AT_LEAST_4_7
306 default "4.6" if BR2_TOOLCHAIN_GCC_AT_LEAST_4_6
307 default "4.5" if BR2_TOOLCHAIN_GCC_AT_LEAST_4_5
308 default "4.4" if BR2_TOOLCHAIN_GCC_AT_LEAST_4_4
309 default "4.3" if BR2_TOOLCHAIN_GCC_AT_LEAST_4_3