]> rtime.felk.cvut.cz Git - coffee/buildroot.git/blob - toolchain/Config.in
toolchain/*/Config.in: re-wrap help text
[coffee/buildroot.git] / toolchain / Config.in
1 menu "Toolchain"
2
3 # Invisible option that makes sure the toolchain package always gets
4 # built
5 config BR2_TOOLCHAIN
6         bool
7         default y
8
9 # Should be selected for glibc or eglibc
10 config BR2_TOOLCHAIN_USES_GLIBC
11         bool
12         select BR2_USE_WCHAR
13         select BR2_ENABLE_LOCALE
14         select BR2_TOOLCHAIN_HAS_FULL_GETTEXT
15         select BR2_TOOLCHAIN_HAS_THREADS
16         select BR2_TOOLCHAIN_HAS_THREADS_DEBUG
17         select BR2_TOOLCHAIN_HAS_THREADS_NPTL
18         select BR2_TOOLCHAIN_HAS_SHADOW_PASSWORDS
19         select BR2_TOOLCHAIN_SUPPORTS_PIE
20
21 config BR2_TOOLCHAIN_USES_UCLIBC
22         bool
23         select BR2_TOOLCHAIN_SUPPORTS_PIE if !BR2_m68k && !BR2_microblaze && !BR2_STATIC_LIBS
24
25 config BR2_TOOLCHAIN_USES_MUSL
26         bool
27         select BR2_USE_WCHAR
28         select BR2_ENABLE_LOCALE
29         select BR2_TOOLCHAIN_HAS_THREADS
30         select BR2_TOOLCHAIN_HAS_THREADS_DEBUG
31         select BR2_TOOLCHAIN_HAS_THREADS_NPTL
32         select BR2_TOOLCHAIN_SUPPORTS_PIE if !BR2_STATIC_LIBS
33
34 choice
35         prompt "Toolchain type"
36         help
37           Select whether to use the toolchain provided by buildroot
38           or an external toolchain.
39
40           Some vendors provide toolchains in binary form, some in
41           source form.
42
43 config BR2_TOOLCHAIN_BUILDROOT
44         bool "Buildroot toolchain"
45         depends on BR2_ARCH_HAS_TOOLCHAIN_BUILDROOT
46         select BR2_TOOLCHAIN_HAS_SHADOW_PASSWORDS
47
48 config BR2_TOOLCHAIN_EXTERNAL
49         bool "External toolchain"
50         help
51           Select if you want to use an existing cross-compiling
52           toolchain. Buildroot can either download automatically a
53           toolchain, or use an already installed toolchain.
54
55 endchoice
56
57 source "toolchain/toolchain-buildroot/Config.in"
58 source "toolchain/toolchain-external/Config.in"
59
60 # Generic toolchain options
61
62 # we want gdb config in the middle of both source and external
63 # toolchains, but mconf won't let us source the same file twice,
64 # so put it here instead
65 source "package/gdb/Config.in.host"
66
67 comment "Toolchain Generic Options"
68
69 # https://sourceware.org/bugzilla/show_bug.cgi?id=19615
70 # Affect toolchains built with binutils 2.26 (fixed in binutils 2.26.1).
71 config BR2_TOOLCHAIN_HAS_BINUTILS_BUG_19615
72         bool
73
74 # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64735
75 # exception_ptr, nested_exception, and future from libstdc++ are not
76 # available for architectures not supporting always lock-free atomic
77 # ints before GCC 7
78 config BR2_TOOLCHAIN_HAS_GCC_BUG_64735
79         bool
80         default y if BR2_nios2
81         default y if BR2_ARM_CPU_ARMV4
82         default y if BR2_ARM_CPU_ARMV5
83         default y if BR2_sparc_v8
84         default y if BR2_m68k_cf5208
85         depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_7
86
87 config BR2_TOOLCHAIN_HAS_NATIVE_RPC
88         bool
89
90 config BR2_USE_WCHAR
91         bool
92
93 config BR2_ENABLE_LOCALE
94         bool
95
96 config BR2_INSTALL_LIBSTDCPP
97         bool
98
99 config BR2_TOOLCHAIN_HAS_FORTRAN
100         bool
101
102 config BR2_TOOLCHAIN_HAS_THREADS
103         bool
104
105 config BR2_TOOLCHAIN_HAS_THREADS_DEBUG
106         bool
107
108 config BR2_TOOLCHAIN_HAS_THREADS_NPTL
109         bool
110
111 config BR2_TOOLCHAIN_HAS_SHADOW_PASSWORDS
112         bool
113
114 config BR2_TOOLCHAIN_HAS_SSP
115         bool
116
117 config BR2_TOOLCHAIN_SUPPORTS_PIE
118         bool
119
120 config BR2_TOOLCHAIN_GLIBC_GCONV_LIBS_COPY
121         bool "Copy gconv libraries"
122         depends on BR2_TOOLCHAIN_USES_GLIBC
123         help
124           The gconv libraries are used to convert between different
125           character sets (charsets).
126
127           Say 'y' if you need to store and/or display different
128           charsets.
129
130 config BR2_TOOLCHAIN_GLIBC_GCONV_LIBS_LIST
131         string "Gconv libraries to copy"
132         depends on BR2_TOOLCHAIN_GLIBC_GCONV_LIBS_COPY
133         help
134           Set to the list of gconv libraries to copy.
135           Leave empty to copy all gconv libraries.
136
137           Specify only the basename of the libraries, leave
138           out the .so extension. Eg.:
139             IBM850 ISO8859-15 UNICODE
140
141           Note: the full set of gconv libs are ~8MiB (on ARM).
142
143 # This boolean is true if the toolchain provides a built-in full
144 # featured gettext implementation (glibc), and false if only a stub
145 # gettext implementation is provided (uclibc, musl)
146 config BR2_TOOLCHAIN_HAS_FULL_GETTEXT
147         bool
148
149 config BR2_USE_MMU
150         bool "Enable MMU support" if BR2_ARCH_HAS_MMU_OPTIONAL
151         default y if BR2_ARCH_HAS_MMU_OPTIONAL || BR2_ARCH_HAS_MMU_MANDATORY
152         help
153           If your target has a MMU, you should say Y here.  If you
154           are unsure, just say Y.
155
156 config BR2_TARGET_OPTIMIZATION
157         string "Target Optimizations"
158         default ""
159         help
160           Optimizations to use when building for the target host.
161           NOTE: gcc optimization level is defined in build options.
162
163 config BR2_TARGET_LDFLAGS
164         string "Target linker options"
165         help
166           Extra options to pass to the linker when building for the
167           target.
168
169           Note that options with a '$' sign (eg.
170           -Wl,-rpath='$ORIGIN/../lib') are not supported.
171
172 config BR2_ECLIPSE_REGISTER
173         bool "Register toolchain within Eclipse Buildroot plug-in"
174         help
175           This options tells Buildroot to generate the necessary
176           configuration files to make your toolchain appear within
177           Eclipse, through the Eclipse Buildroot plugin.
178
179 # Options for packages to depend on, if they require at least a
180 # specific version of the kernel headers.
181 # Toolchains should choose the adequate option (ie. the highest
182 # version, not all of them).
183 config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0
184         bool
185
186 config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_1
187         bool
188         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0
189
190 config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_2
191         bool
192         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_1
193
194 config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_3
195         bool
196         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_2
197
198 config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4
199         bool
200         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_3
201
202 config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_5
203         bool
204         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4
205
206 config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_6
207         bool
208         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_5
209
210 config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_7
211         bool
212         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_6
213
214 config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_8
215         bool
216         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_7
217
218 config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_9
219         bool
220         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_8
221
222 config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_10
223         bool
224         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_9
225
226 config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_11
227         bool
228         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_10
229
230 config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12
231         bool
232         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_11
233
234 config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_13
235         bool
236         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12
237
238 config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_14
239         bool
240         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_13
241
242 config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_15
243         bool
244         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_14
245
246 config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_16
247         bool
248         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_15
249
250 config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_17
251         bool
252         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_16
253
254 config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_18
255         bool
256         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_17
257
258 config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_19
259         bool
260         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_18
261
262 config BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_0
263         bool
264         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_19
265
266 config BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_1
267         bool
268         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_0
269
270 config BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_2
271         bool
272         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_1
273
274 config BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_3
275         bool
276         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_2
277
278 config BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_4
279         bool
280         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_3
281
282 config BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_5
283         bool
284         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_4
285
286 config BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_6
287         bool
288         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_5
289
290 config BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_7
291         bool
292         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_6
293
294 config BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_8
295         bool
296         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_7
297
298 config BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9
299         bool
300         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_8
301
302 config BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_10
303         bool
304         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9
305
306 config BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_11
307         bool
308         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_10
309
310 config BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_12
311         bool
312         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_11
313
314 config BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_13
315         bool
316         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_12
317
318 config BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_14
319         bool
320         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_13
321
322 config BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_15
323         bool
324         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_14
325
326 # This order guarantees that the highest version is set, as kconfig
327 # stops affecting a value on the first matching default.
328 config BR2_TOOLCHAIN_HEADERS_AT_LEAST
329         string
330         default "4.15" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_15
331         default "4.14" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_14
332         default "4.13" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_13
333         default "4.12" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_12
334         default "4.11" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_11
335         default "4.10" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_10
336         default "4.9"  if BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9
337         default "4.8"  if BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_8
338         default "4.7"  if BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_7
339         default "4.6"  if BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_6
340         default "4.5"  if BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_5
341         default "4.4"  if BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_4
342         default "4.3"  if BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_3
343         default "4.2"  if BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_2
344         default "4.1"  if BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_1
345         default "4.0"  if BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_0
346         default "3.19" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_19
347         default "3.18" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_18
348         default "3.17" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_17
349         default "3.16" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_16
350         default "3.15" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_15
351         default "3.14" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_14
352         default "3.13" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_13
353         default "3.12" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12
354         default "3.11" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_11
355         default "3.10" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_10
356         default "3.9"  if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_9
357         default "3.8"  if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_8
358         default "3.7"  if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_7
359         default "3.6"  if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_6
360         default "3.5"  if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_5
361         default "3.4"  if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4
362         default "3.3"  if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_3
363         default "3.2"  if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_2
364         default "3.1"  if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_1
365         default "3.0"  if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0
366         default "2.6"
367
368 config BR2_TOOLCHAIN_GCC_AT_LEAST_4_3
369         bool
370
371 config BR2_TOOLCHAIN_GCC_AT_LEAST_4_4
372         bool
373         select BR2_TOOLCHAIN_GCC_AT_LEAST_4_3
374
375 config BR2_TOOLCHAIN_GCC_AT_LEAST_4_5
376         bool
377         select BR2_TOOLCHAIN_GCC_AT_LEAST_4_4
378
379 config BR2_TOOLCHAIN_GCC_AT_LEAST_4_6
380         bool
381         select BR2_TOOLCHAIN_GCC_AT_LEAST_4_5
382
383 config BR2_TOOLCHAIN_GCC_AT_LEAST_4_7
384         bool
385         select BR2_TOOLCHAIN_GCC_AT_LEAST_4_6
386
387 config BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
388         bool
389         select BR2_TOOLCHAIN_GCC_AT_LEAST_4_7
390
391 config BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
392         bool
393         select BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
394
395 config BR2_TOOLCHAIN_GCC_AT_LEAST_5
396         bool
397         select BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
398
399 config BR2_TOOLCHAIN_GCC_AT_LEAST_6
400         bool
401         select BR2_TOOLCHAIN_GCC_AT_LEAST_5
402
403 config BR2_TOOLCHAIN_GCC_AT_LEAST_7
404         bool
405         select BR2_TOOLCHAIN_GCC_AT_LEAST_6
406
407 # This order guarantees that the highest version is set, as kconfig
408 # stops affecting a value on the first matching default.
409 config BR2_TOOLCHAIN_GCC_AT_LEAST
410         string
411         default "7"     if BR2_TOOLCHAIN_GCC_AT_LEAST_7
412         default "6"     if BR2_TOOLCHAIN_GCC_AT_LEAST_6
413         default "5"     if BR2_TOOLCHAIN_GCC_AT_LEAST_5
414         default "4.9"   if BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
415         default "4.8"   if BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
416         default "4.7"   if BR2_TOOLCHAIN_GCC_AT_LEAST_4_7
417         default "4.6"   if BR2_TOOLCHAIN_GCC_AT_LEAST_4_6
418         default "4.5"   if BR2_TOOLCHAIN_GCC_AT_LEAST_4_5
419         default "4.4"   if BR2_TOOLCHAIN_GCC_AT_LEAST_4_4
420         default "4.3"   if BR2_TOOLCHAIN_GCC_AT_LEAST_4_3
421
422 config BR2_TOOLCHAIN_HAS_MNAN_OPTION
423         bool
424         default y if BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
425
426 config BR2_TOOLCHAIN_HAS_SYNC_1
427         bool
428         default y
429         depends on !BR2_bfin
430         depends on !BR2_m68k_cf
431         depends on !BR2_microblaze
432         depends on !BR2_sparc
433         depends on !(BR2_arc && !BR2_ARC_ATOMIC_EXT)
434
435 config BR2_TOOLCHAIN_HAS_SYNC_2
436         bool
437         default y if BR2_TOOLCHAIN_HAS_SYNC_1
438
439 config BR2_TOOLCHAIN_HAS_SYNC_4
440         bool
441         default y
442         depends on !BR2_m68k_cf
443         depends on !BR2_sparc
444         depends on !(BR2_arc && !BR2_ARC_ATOMIC_EXT)
445
446 # The availability of __sync for 8-byte types on ARM is somewhat
447 # complicated:
448 #
449 #  - It appeared in gcc starting with gcc 4.7.
450 #
451 #  - On ARMv7, there is no problem, it can be directly implemented in
452 #    userspace.
453 #
454 #  - On < ARMv7, it requires help from the kernel. Unfortunately, the
455 #    libgcc code implementing 8-byte __sync with the help from the
456 #    kernel calls __write() when a failure occurs, which is a function
457 #    internal to glibc, not available in uClibc and musl. This means
458 #    that the 8-byte __sync operations are not available on < ARMv7
459 #    with uClibc and musl. This problem was fixed as part of gcc
460 #    PR68059, which was backported to the gcc 5 branch, but isn't yet
461 #    part of any gcc 5.x release.
462 #
463 config BR2_TOOLCHAIN_ARM_HAS_SYNC_8
464         bool
465         default y
466         depends on BR2_arm || BR2_armeb
467         depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_7
468         depends on BR2_TOOLCHAIN_USES_GLIBC || BR2_ARM_CPU_ARMV7A
469
470 # 8-byte intrinsics available on most x86 CPUs, except a few old ones
471 config BR2_TOOLCHAIN_X86_HAS_SYNC_8
472         bool
473         default y
474         depends on BR2_i386
475         depends on !BR2_x86_i486
476         depends on !BR2_x86_c3
477         depends on !BR2_x86_winchip_c6
478         depends on !BR2_x86_winchip2
479
480 # 8-byte intrinsics available:
481 #  - On all 64 bits architecture
482 #  - On a certain combinations of ARM platforms
483 #  - On certain x86 32 bits CPUs
484 config BR2_TOOLCHAIN_HAS_SYNC_8
485         bool
486         default y if BR2_ARCH_IS_64
487         default y if BR2_TOOLCHAIN_ARM_HAS_SYNC_8
488         default y if BR2_TOOLCHAIN_X86_HAS_SYNC_8
489
490 # libatomic is available since gcc 4.8, when thread support is
491 # enabled. Also, libatomic doesn't recognize "uclinux" as a valid OS
492 # part of the tuple, and is therefore not build on uclinux targets,
493 # which is why BR2_BINFMT_FLAT configurations are excluded.
494 config BR2_TOOLCHAIN_HAS_LIBATOMIC
495         bool
496         default y if BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 && \
497                 BR2_TOOLCHAIN_HAS_THREADS && \
498                 !BR2_BINFMT_FLAT
499
500 # __atomic intrinsics are available:
501 # - with gcc 4.8, either through built-ins or libatomic, on all
502 #   architectures. Since we don't want to separate the cases where
503 #   libatomic is needed vs. not needed, we simplify thing and only
504 #   support situations where libatomic is available, even if on some
505 #   architectures libatomic is not strictly needed as all __atomic
506 #   intrinsics might be built-in. The only case where libatomic is
507 #   missing entirely is when the toolchain does not have support for
508 #   threads. However, a package that does not need threads but still
509 #   uses atomics is quite a corner case, which does not warrant the
510 #   added complexity.
511 # - with gcc 4.7, libatomic did not exist, so only built-ins are
512 #   available. This means that __atomic can only be used in a subset
513 #   of the architectures
514 config BR2_TOOLCHAIN_HAS_ATOMIC
515         bool
516         default y if BR2_TOOLCHAIN_HAS_LIBATOMIC
517         default y if BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 && BR2_arm
518         default y if BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 && BR2_armeb
519         default y if BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 && BR2_xtensa
520         default y if BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 && BR2_ARCH_IS_64
521
522 # - libquadmath is not needed/available on all architectures (but gcc
523 #   correctly handles this already).
524 # - At least, libquadmath is available on:
525 #   - i*86
526 #   - x86_64
527 # - When available, libquadmath requires wchar support.
528 config BR2_TOOLCHAIN_HAS_LIBQUADMATH
529         bool
530         default y if BR2_i386 || BR2_x86_64
531
532 endmenu