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_GCC_BUG_58595
11 config BR2_TOOLCHAIN_HAS_GCC_BUG_58854
14 config BR2_TOOLCHAIN_HAS_NATIVE_RPC
20 config BR2_ENABLE_LOCALE
23 config BR2_INSTALL_LIBSTDCPP
26 config BR2_TOOLCHAIN_HAS_THREADS
29 config BR2_TOOLCHAIN_HAS_THREADS_DEBUG
32 config BR2_TOOLCHAIN_HAS_THREADS_NPTL
35 config BR2_TOOLCHAIN_HAS_SHADOW_PASSWORDS
38 config BR2_TOOLCHAIN_HAS_SSP
41 config BR2_ENABLE_LOCALE_PURGE
42 bool "Purge unwanted locales"
44 Explicitly specify what locales to install on target. If N
45 then all locales supported by packages are installed.
47 config BR2_ENABLE_LOCALE_WHITELIST
48 string "Locales to keep"
49 default "C en_US de fr"
50 depends on BR2_ENABLE_LOCALE_PURGE
52 Whitespace seperated list of locales to allow on target.
53 Locales not listed here will be removed from the target.
54 See 'locale -a' on your host for a list of locales available
55 on your build host, or have a look in /usr/share/locale in
56 the target file system for available locales.
58 Notice that listing a locale here doesn't guarantee that it
59 will be available on the target - That purely depends on the
60 support for that locale in the selected packages.
62 config BR2_GENERATE_LOCALE
63 string "Generate locale data"
66 (BR2_TOOLCHAIN_BUILDROOT_UCLIBC && BR2_ENABLE_LOCALE) || \
67 BR2_TOOLCHAIN_USES_GLIBC
69 Generate support for a list of locales. Locales can be
70 specified with or without encoding, when no encoding is
71 specified, UTF-8 is assumed. Examples of locales: en_US,
74 config BR2_TOOLCHAIN_GLIBC_GCONV_LIBS_COPY
75 bool "Copy gconv libraries"
76 depends on BR2_TOOLCHAIN_USES_GLIBC
78 The gconv libraries are used to convert between different
79 character sets (charsets).
81 Say 'y' if you need to store and/or display different charsets.
83 config BR2_TOOLCHAIN_GLIBC_GCONV_LIBS_LIST
84 string "Gconv libraries to copy"
85 depends on BR2_TOOLCHAIN_GLIBC_GCONV_LIBS_COPY
87 Set to the list of gconv libraries to copy.
88 Leave empty to copy all gconv libraries.
90 Specify only the basename of the libraries, leave
91 out the .so extension. Eg.:
92 IBM850 ISO8859-15 UNICODE
94 Note: the full set of gconv libs are ~8MiB (on ARM).
96 # glibc and eglibc directly include gettext, so a separatly compiled
97 # gettext isn't needed and shouldn't be built to avoid conflicts. Some
98 # packages always need gettext, other packages only need gettext when
99 # locale support is enabled. See the documentation for how packages
100 # should rely on the following two options.
102 config BR2_NEEDS_GETTEXT
104 default y if BR2_TOOLCHAIN_USES_UCLIBC
106 config BR2_NEEDS_GETTEXT_IF_LOCALE
108 default y if (BR2_NEEDS_GETTEXT && BR2_ENABLE_LOCALE)
111 bool "Enable MMU support" if BR2_arm || BR2_armeb || BR2_sh || BR2_xtensa
112 default y if !BR2_bfin
114 If your target has a MMU, you should say Y here. If you
115 are unsure, just say Y.
117 config BR2_TARGET_OPTIMIZATION
118 string "Target Optimizations"
121 Optimizations to use when building for the target host.
122 NOTE: gcc optimization level is defined in build options.
124 config BR2_TARGET_LDFLAGS
125 string "Target linker options"
127 Extra options to pass to the linker when building for the target.
129 Note that options with a '$' sign (eg. -Wl,-rpath='$ORIGIN/../lib')
132 config BR2_ECLIPSE_REGISTER
133 bool "Register toolchain within Eclipse Buildroot plug-in"
135 This options tells Buildroot to generate the necessary
136 configuration files to make your toolchain appear within
137 Eclipse, through the Eclipse Buildroot plugin.
139 # Options for packages to depend on, if they require at least a
140 # specific version of the kernel headers.
141 # Toolchains should choose the adequate option (ie. the highest
142 # version, not all of them).
143 config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0
146 config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_1
148 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0
150 config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_2
152 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_1
154 config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_3
156 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_2
158 config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4
160 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_3
162 config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_5
164 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4
166 config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_6
168 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_5
170 config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_7
172 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_6
174 config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_8
176 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_7
178 config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_9
180 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_8
182 config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_10
184 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_9
186 config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_11
188 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_10
190 config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12
192 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_11
194 config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_13
196 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12
198 config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_14
200 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_13
202 config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_15
204 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_14
206 config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_16
208 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_15
210 config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_17
212 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_16
214 config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_18
216 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_17
218 config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_19
220 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_18
222 config BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_0
224 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_19
226 # This order guarantees that the highest version is set, as kconfig
227 # stops affecting a value on the first matching default.
228 config BR2_TOOLCHAIN_HEADERS_AT_LEAST
230 default "4.0" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_0
231 default "3.19" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_19
232 default "3.18" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_18
233 default "3.17" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_17
234 default "3.16" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_16
235 default "3.15" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_15
236 default "3.14" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_14
237 default "3.13" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_13
238 default "3.12" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12
239 default "3.11" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_11
240 default "3.10" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_10
241 default "3.9" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_9
242 default "3.8" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_8
243 default "3.7" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_7
244 default "3.6" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_6
245 default "3.5" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_5
246 default "3.4" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4
247 default "3.3" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_3
248 default "3.2" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_2
249 default "3.1" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_1
250 default "3.0" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0