Config.in 28 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942
  1. menu "Toolchain"
  2. # Invisible option that makes sure the toolchain package always gets
  3. # built
  4. config BR2_TOOLCHAIN
  5. bool
  6. default y
  7. # Should be selected for glibc or eglibc
  8. config BR2_TOOLCHAIN_USES_GLIBC
  9. bool
  10. select BR2_USE_WCHAR
  11. select BR2_ENABLE_LOCALE
  12. select BR2_TOOLCHAIN_HAS_FULL_GETTEXT
  13. select BR2_TOOLCHAIN_HAS_THREADS
  14. select BR2_TOOLCHAIN_HAS_THREADS_DEBUG
  15. select BR2_TOOLCHAIN_HAS_THREADS_NPTL
  16. select BR2_TOOLCHAIN_HAS_UCONTEXT
  17. select BR2_TOOLCHAIN_SUPPORTS_PIE
  18. config BR2_TOOLCHAIN_USES_UCLIBC
  19. bool
  20. # ucontext is only available for a subset of the supported
  21. # architectures
  22. select BR2_TOOLCHAIN_HAS_UCONTEXT if BR2_ARM_CPU_HAS_ARM || BR2_i386 \
  23. || BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el \
  24. || BR2_sparc || BR2_x86_64
  25. select BR2_TOOLCHAIN_SUPPORTS_PIE if !BR2_m68k && !BR2_microblaze && !BR2_STATIC_LIBS
  26. config BR2_TOOLCHAIN_USES_MUSL
  27. bool
  28. select BR2_USE_WCHAR
  29. select BR2_ENABLE_LOCALE
  30. select BR2_TOOLCHAIN_HAS_THREADS
  31. select BR2_TOOLCHAIN_HAS_THREADS_DEBUG
  32. select BR2_TOOLCHAIN_HAS_THREADS_NPTL
  33. select BR2_TOOLCHAIN_SUPPORTS_PIE if !BR2_STATIC_LIBS
  34. choice
  35. prompt "Toolchain type"
  36. help
  37. Select whether to use the toolchain provided by buildroot
  38. or an external toolchain.
  39. Some vendors provide toolchains in binary form, some in
  40. source form.
  41. config BR2_TOOLCHAIN_BUILDROOT
  42. bool "Buildroot toolchain"
  43. depends on BR2_ARCH_HAS_TOOLCHAIN_BUILDROOT
  44. config BR2_TOOLCHAIN_EXTERNAL
  45. bool "External toolchain"
  46. help
  47. Select if you want to use an existing cross-compiling
  48. toolchain. Buildroot can either download automatically a
  49. toolchain, or use an already installed toolchain.
  50. endchoice
  51. source "toolchain/toolchain-buildroot/Config.in"
  52. source "toolchain/toolchain-external/Config.in"
  53. # Generic toolchain options
  54. # we want gdb config in the middle of both source and external
  55. # toolchains, but mconf won't let us source the same file twice,
  56. # so put it here instead
  57. source "package/gdb/Config.in.host"
  58. comment "Toolchain Generic Options"
  59. # https://sourceware.org/bugzilla/show_bug.cgi?id=27597
  60. # Affect toolchains built with binutils 2.36.1, still not fixed.
  61. config BR2_TOOLCHAIN_HAS_BINUTILS_BUG_27597
  62. bool
  63. default y if BR2_nios2
  64. # https://sourceware.org/bugzilla/show_bug.cgi?id=30730
  65. # Affect toolchains built with binutils 2.40, still not fixed.
  66. config BR2_TOOLCHAIN_HAS_BINUTILS_BUG_30730
  67. bool
  68. default y if BR2_m68k_cf
  69. # Atomic types can be:
  70. # - never lock-free
  71. # - sometimes lock-free
  72. # - always lock-free
  73. # see https://en.cppreference.com/w/c/atomic/ATOMIC_LOCK_FREE_consts
  74. #
  75. # On most architectures, gcc provides "always lock-free" atomic types,
  76. # but a few architectures are limited to "sometimes lock-free"
  77. # types. This hidden option allows to know if the architecture
  78. # provides "always lock-free" atomic types.
  79. config BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS
  80. bool
  81. default y
  82. depends on !BR2_nios2
  83. depends on !BR2_ARM_CPU_ARMV4
  84. depends on !BR2_ARM_CPU_ARMV5
  85. depends on !BR2_sparc_v8
  86. depends on !BR2_m68k_cf5208
  87. depends on !(BR2_arc && !BR2_ARC_ATOMIC_EXT)
  88. # GCC uses thunk functions to adjust the 'this' pointer when calling
  89. # C++ member functions in classes derived with multiple inheritance.
  90. # Generation of thunk functions requires support from the compiler
  91. # back end. In the absence of that support target-independent code
  92. # in the C++ front end is used to generate thunk functions, but it
  93. # does not support vararg functions.
  94. # or1k will support it in the gcc mainline starting with gcc-9.
  95. config BR2_TOOLCHAIN_SUPPORTS_VARIADIC_MI_THUNK
  96. bool
  97. default y
  98. depends on !BR2_or1k
  99. depends on !BR2_xtensa
  100. # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43744. This bug
  101. # reappeared on gcc 9.x and is still not fixed on gcc 11.x
  102. config BR2_TOOLCHAIN_HAS_GCC_BUG_43744
  103. bool
  104. default y if !BR2_TOOLCHAIN_GCC_AT_LEAST_8
  105. default y if BR2_TOOLCHAIN_GCC_AT_LEAST_9
  106. depends on BR2_sh
  107. # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63261. This bug no
  108. # longer exists in gcc 8.x.
  109. config BR2_TOOLCHAIN_HAS_GCC_BUG_63261
  110. bool
  111. default y if BR2_microblaze
  112. depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_8
  113. # Prior to gcc 7.x, exception_ptr, nested_exception and future from
  114. # libstdc++ would only be provided on architectures that support
  115. # always lock-free atomic ints. See
  116. # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64735. This issue has
  117. # been removed in GCC 7.x, where exception propagation is now
  118. # supported without lock-free atomic int.
  119. config BR2_TOOLCHAIN_HAS_GCC_BUG_64735
  120. bool
  121. default y if !BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS && \
  122. !BR2_TOOLCHAIN_GCC_AT_LEAST_7
  123. # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68485. This bug still
  124. # exists in gcc 12.x
  125. config BR2_TOOLCHAIN_HAS_GCC_BUG_68485
  126. bool
  127. default y if BR2_microblaze
  128. # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81426
  129. config BR2_TOOLCHAIN_HAS_GCC_BUG_81426
  130. bool
  131. default y if BR2_sh
  132. # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83143
  133. # Error: invalid operands (*UND* and .text sections) for `-' on sh4.
  134. # This bug no longer exists in gcc 10.x but reappeared on gcc 11.x and
  135. # it still not been fixed yet.
  136. config BR2_TOOLCHAIN_HAS_GCC_BUG_83143
  137. bool
  138. default y if !BR2_TOOLCHAIN_GCC_AT_LEAST_10
  139. default y if BR2_TOOLCHAIN_GCC_AT_LEAST_11
  140. depends on BR2_sh
  141. # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85180. This bug no
  142. # longer exists in gcc 8.x.
  143. config BR2_TOOLCHAIN_HAS_GCC_BUG_85180
  144. bool
  145. default y if BR2_microblaze
  146. depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_8
  147. # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85862
  148. # An infinite loop exists in the find_base_term() logic of 6.x
  149. # on microblaze. http://autobuild.buildroot.net/results/158e8ebb39713e1b436a5cc1a1916f46c30694df/
  150. config BR2_TOOLCHAIN_HAS_GCC_BUG_85862
  151. bool
  152. default y if BR2_microblaze
  153. depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_7
  154. # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90620
  155. # ICE: in do_output_reload, at reload1.c:7978 on microblaze.
  156. # This bug no longer exists in gcc 10.x but reappeared in gcc 11.x
  157. config BR2_TOOLCHAIN_HAS_GCC_BUG_90620
  158. bool
  159. default y if BR2_microblaze
  160. depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_10 \
  161. || BR2_TOOLCHAIN_GCC_AT_LEAST_11
  162. # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93847
  163. # ICE: compiler error: Segmentation fault on Nios II. This bug
  164. # no longer exists in gcc 9.x.
  165. config BR2_TOOLCHAIN_HAS_GCC_BUG_93847
  166. bool
  167. default y if BR2_nios2 && !BR2_TOOLCHAIN_GCC_AT_LEAST_9
  168. # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99410
  169. # Error: branch offset out of range on Nios II. This bug
  170. # no longer exists in gcc 8.x but reappeared on gcc 9.x and still exists
  171. # on gcc 12.x
  172. config BR2_TOOLCHAIN_HAS_GCC_BUG_99410
  173. bool
  174. default y if !BR2_TOOLCHAIN_GCC_AT_LEAST_8
  175. default y if BR2_TOOLCHAIN_GCC_AT_LEAST_9
  176. depends on BR2_nios2
  177. # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101737
  178. # ICE: SH4 -Os causes internal compiler error. This bug
  179. # still exists in gcc = 11.1.0
  180. config BR2_TOOLCHAIN_HAS_GCC_BUG_101737
  181. bool
  182. default y if BR2_sh
  183. # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101915
  184. # ICE: in extract_insn, at recog.c:2294 on microblaze.
  185. # This bug still exists in gcc = 12.1.0
  186. config BR2_TOOLCHAIN_HAS_GCC_BUG_101915
  187. bool
  188. default y if BR2_microblaze
  189. # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101916
  190. # ICE: on SH4: Segmentation fault signal terminated program cc1.
  191. # This bug still exists in gcc = 11.1.0
  192. config BR2_TOOLCHAIN_HAS_GCC_BUG_101916
  193. bool
  194. default y if BR2_sh4
  195. # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101952
  196. # ICE: on SH4: unaligned opcodes detected in executable segment.
  197. # This bug still exists in gcc = 11.1.0
  198. config BR2_TOOLCHAIN_HAS_GCC_BUG_101952
  199. bool
  200. default y if BR2_sh4
  201. # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104028
  202. # ICE: on M68K: Error: value -16034 out of range
  203. # This bug still exists in gcc = 11.1.0
  204. config BR2_TOOLCHAIN_HAS_GCC_BUG_104028
  205. bool
  206. default y if BR2_m68k
  207. # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107728
  208. # https://sourceware.org/bugzilla/show_bug.cgi?id=29621
  209. config BR2_TOOLCHAIN_HAS_GCC_BUG_107728
  210. bool
  211. default y if BR2_microblazebe || BR2_microblazeel \
  212. || BR2_mips || BR2_mipsel \
  213. || BR2_nios2 \
  214. || BR2_or1k \
  215. || BR2_sh
  216. depends on BR2_TOOLCHAIN_USES_GLIBC
  217. depends on BR2_OPTIMIZE_0
  218. # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110934
  219. # ICE: on M68K: in change_address_1, at emit-rtl.cc:2287
  220. # This bug exists in gcc = 12.3.0 and gcc = 13.2.0
  221. config BR2_TOOLCHAIN_HAS_GCC_BUG_110934
  222. bool
  223. default y if BR2_m68k
  224. # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111001
  225. # ICE: on SH4: during RTL pass: sh_treg_combine2
  226. # This bug exist in gcc = 13.2.0
  227. config BR2_TOOLCHAIN_HAS_GCC_BUG_111001
  228. bool
  229. default y if BR2_sh
  230. depends on BR2_TOOLCHAIN_GCC_AT_LEAST_13
  231. depends on BR2_OPTIMIZE_1 || \
  232. BR2_OPTIMIZE_2 || \
  233. BR2_OPTIMIZE_3
  234. config BR2_TOOLCHAIN_HAS_NATIVE_RPC
  235. bool
  236. config BR2_USE_WCHAR
  237. bool
  238. config BR2_ENABLE_LOCALE
  239. bool
  240. config BR2_INSTALL_LIBSTDCPP
  241. bool
  242. config BR2_TOOLCHAIN_HAS_DLANG
  243. bool
  244. config BR2_TOOLCHAIN_HAS_FORTRAN
  245. bool
  246. config BR2_TOOLCHAIN_HAS_THREADS
  247. bool
  248. config BR2_TOOLCHAIN_HAS_THREADS_DEBUG
  249. bool
  250. config BR2_TOOLCHAIN_HAS_THREADS_NPTL
  251. bool
  252. config BR2_TOOLCHAIN_HAS_SSP
  253. bool
  254. config BR2_TOOLCHAIN_HAS_SSP_STRONG
  255. bool
  256. default y if BR2_TOOLCHAIN_HAS_SSP && BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
  257. # This boolean is true if the toolchain provides a full featured
  258. # ucontext implementation with ucontext_t and {get,make,set}context
  259. config BR2_TOOLCHAIN_HAS_UCONTEXT
  260. bool
  261. config BR2_TOOLCHAIN_HAS_OPENMP
  262. bool
  263. config BR2_TOOLCHAIN_SUPPORTS_PIE
  264. bool
  265. config BR2_TOOLCHAIN_GLIBC_GCONV_LIBS_COPY
  266. bool "Copy gconv libraries"
  267. depends on BR2_TOOLCHAIN_USES_GLIBC
  268. help
  269. The gconv libraries are used to convert between different
  270. character sets (charsets).
  271. Say 'y' if you need to store and/or display different
  272. charsets.
  273. config BR2_TOOLCHAIN_GLIBC_GCONV_LIBS_LIST
  274. string "Gconv libraries to copy"
  275. depends on BR2_TOOLCHAIN_GLIBC_GCONV_LIBS_COPY
  276. help
  277. Set to the list of gconv libraries to copy.
  278. Leave empty to copy all gconv libraries.
  279. Specify only the basename of the libraries, leave
  280. out the .so extension. Eg.:
  281. IBM850 ISO8859-15 UNICODE
  282. Note: the full set of gconv libs are ~8MiB (on ARM).
  283. config BR2_TOOLCHAIN_EXTRA_LIBS
  284. string "Extra toolchain libraries to be copied to target"
  285. default BR2_TOOLCHAIN_EXTRA_EXTERNAL_LIBS if BR2_TOOLCHAIN_EXTRA_EXTERNAL_LIBS != "" # legacy
  286. depends on !BR2_STATIC_LIBS
  287. help
  288. If your toolchain provides extra libraries that need to be
  289. copied to the target filesystem, enter them here, separated
  290. by spaces. The library should not include a suffix or any
  291. type of pre/post wildcard.
  292. Examples where this can be useful is for adding debug
  293. libraries to the target like the GCC libsanitizer.
  294. e.g. "libasan liblsan libtsan libubsan"
  295. # This boolean is true if the toolchain provides a built-in full
  296. # featured gettext implementation (glibc), and false if only a stub
  297. # gettext implementation is provided (uclibc, musl)
  298. config BR2_TOOLCHAIN_HAS_FULL_GETTEXT
  299. bool
  300. config BR2_TARGET_OPTIMIZATION
  301. string "Target Optimizations"
  302. default ""
  303. help
  304. Optimizations to use when building for the target host.
  305. NOTE: gcc optimization level is defined in build options.
  306. config BR2_TARGET_LDFLAGS
  307. string "Target linker options"
  308. help
  309. Extra options to pass to the linker when building for the
  310. target.
  311. Note that options with a '$' sign (eg.
  312. -Wl,-rpath='$ORIGIN/../lib') are not supported.
  313. # Options for packages to depend on, if they require at least a
  314. # specific version of the kernel headers.
  315. # Toolchains should choose the adequate option (ie. the highest
  316. # version, not all of them).
  317. config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0
  318. bool
  319. config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_1
  320. bool
  321. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0
  322. config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_2
  323. bool
  324. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_1
  325. config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_3
  326. bool
  327. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_2
  328. config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4
  329. bool
  330. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_3
  331. config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_5
  332. bool
  333. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4
  334. config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_6
  335. bool
  336. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_5
  337. config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_7
  338. bool
  339. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_6
  340. config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_8
  341. bool
  342. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_7
  343. config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_9
  344. bool
  345. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_8
  346. config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_10
  347. bool
  348. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_9
  349. config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_11
  350. bool
  351. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_10
  352. config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12
  353. bool
  354. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_11
  355. config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_13
  356. bool
  357. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12
  358. config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_14
  359. bool
  360. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_13
  361. config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_15
  362. bool
  363. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_14
  364. config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_16
  365. bool
  366. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_15
  367. config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_17
  368. bool
  369. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_16
  370. config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_18
  371. bool
  372. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_17
  373. config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_19
  374. bool
  375. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_18
  376. config BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_0
  377. bool
  378. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_19
  379. config BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_1
  380. bool
  381. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_0
  382. config BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_2
  383. bool
  384. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_1
  385. config BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_3
  386. bool
  387. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_2
  388. config BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_4
  389. bool
  390. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_3
  391. config BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_5
  392. bool
  393. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_4
  394. config BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_6
  395. bool
  396. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_5
  397. config BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_7
  398. bool
  399. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_6
  400. config BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_8
  401. bool
  402. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_7
  403. config BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9
  404. bool
  405. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_8
  406. config BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_10
  407. bool
  408. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9
  409. config BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_11
  410. bool
  411. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_10
  412. config BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_12
  413. bool
  414. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_11
  415. config BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_13
  416. bool
  417. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_12
  418. config BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_14
  419. bool
  420. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_13
  421. config BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_15
  422. bool
  423. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_14
  424. config BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_16
  425. bool
  426. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_15
  427. config BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_17
  428. bool
  429. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_16
  430. config BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_18
  431. bool
  432. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_17
  433. config BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_19
  434. bool
  435. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_18
  436. config BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_20
  437. bool
  438. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_19
  439. config BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_0
  440. bool
  441. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_20
  442. config BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_1
  443. bool
  444. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_0
  445. config BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_2
  446. bool
  447. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_1
  448. config BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_3
  449. bool
  450. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_2
  451. config BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4
  452. bool
  453. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_3
  454. config BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_5
  455. bool
  456. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4
  457. config BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_6
  458. bool
  459. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_5
  460. config BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_7
  461. bool
  462. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_6
  463. config BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_8
  464. bool
  465. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_7
  466. config BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_9
  467. bool
  468. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_8
  469. config BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_10
  470. bool
  471. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_9
  472. config BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_11
  473. bool
  474. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_10
  475. config BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_12
  476. bool
  477. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_11
  478. config BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_13
  479. bool
  480. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_12
  481. config BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_14
  482. bool
  483. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_13
  484. config BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_15
  485. bool
  486. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_14
  487. config BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_16
  488. bool
  489. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_15
  490. config BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_17
  491. bool
  492. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_16
  493. config BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_18
  494. bool
  495. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_17
  496. config BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_19
  497. bool
  498. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_18
  499. config BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_0
  500. bool
  501. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_19
  502. config BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_1
  503. bool
  504. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_0
  505. config BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_2
  506. bool
  507. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_1
  508. config BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_3
  509. bool
  510. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_2
  511. config BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_4
  512. bool
  513. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_3
  514. config BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_5
  515. bool
  516. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_4
  517. config BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_6
  518. bool
  519. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_5
  520. select BR2_TOOLCHAIN_HEADERS_LATEST
  521. # This should be selected by the latest version, above, to indicate that
  522. # Buildroot does not know of more recent headers than the ones selected.
  523. # This allows using toolchains with headers more recent than Buildroot
  524. # knows about, while still enforcing strict check for older headers.
  525. config BR2_TOOLCHAIN_HEADERS_LATEST
  526. bool
  527. # This order guarantees that the highest version is set, as kconfig
  528. # stops affecting a value on the first matching default.
  529. config BR2_TOOLCHAIN_HEADERS_AT_LEAST
  530. string
  531. default "6.6" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_6
  532. default "6.5" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_5
  533. default "6.4" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_4
  534. default "6.3" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_3
  535. default "6.2" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_2
  536. default "6.1" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_1
  537. default "6.0" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_0
  538. default "5.19" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_19
  539. default "5.18" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_18
  540. default "5.17" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_17
  541. default "5.16" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_16
  542. default "5.15" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_15
  543. default "5.14" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_14
  544. default "5.13" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_13
  545. default "5.12" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_12
  546. default "5.11" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_11
  547. default "5.10" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_10
  548. default "5.9" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_9
  549. default "5.8" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_8
  550. default "5.7" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_7
  551. default "5.6" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_6
  552. default "5.5" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_5
  553. default "5.4" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4
  554. default "5.3" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_3
  555. default "5.2" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_2
  556. default "5.1" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_1
  557. default "5.0" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_0
  558. default "4.20" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_20
  559. default "4.19" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_19
  560. default "4.18" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_18
  561. default "4.17" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_17
  562. default "4.16" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_16
  563. default "4.15" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_15
  564. default "4.14" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_14
  565. default "4.13" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_13
  566. default "4.12" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_12
  567. default "4.11" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_11
  568. default "4.10" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_10
  569. default "4.9" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9
  570. default "4.8" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_8
  571. default "4.7" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_7
  572. default "4.6" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_6
  573. default "4.5" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_5
  574. default "4.4" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_4
  575. default "4.3" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_3
  576. default "4.2" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_2
  577. default "4.1" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_1
  578. default "4.0" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_0
  579. default "3.19" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_19
  580. default "3.18" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_18
  581. default "3.17" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_17
  582. default "3.16" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_16
  583. default "3.15" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_15
  584. default "3.14" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_14
  585. default "3.13" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_13
  586. default "3.12" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12
  587. default "3.11" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_11
  588. default "3.10" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_10
  589. default "3.9" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_9
  590. default "3.8" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_8
  591. default "3.7" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_7
  592. default "3.6" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_6
  593. default "3.5" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_5
  594. default "3.4" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4
  595. default "3.3" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_3
  596. default "3.2" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_2
  597. default "3.1" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_1
  598. default "3.0" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0
  599. default "2.6"
  600. config BR2_TOOLCHAIN_GCC_AT_LEAST_4_3
  601. bool
  602. config BR2_TOOLCHAIN_GCC_AT_LEAST_4_4
  603. bool
  604. select BR2_TOOLCHAIN_GCC_AT_LEAST_4_3
  605. config BR2_TOOLCHAIN_GCC_AT_LEAST_4_5
  606. bool
  607. select BR2_TOOLCHAIN_GCC_AT_LEAST_4_4
  608. config BR2_TOOLCHAIN_GCC_AT_LEAST_4_6
  609. bool
  610. select BR2_TOOLCHAIN_GCC_AT_LEAST_4_5
  611. config BR2_TOOLCHAIN_GCC_AT_LEAST_4_7
  612. bool
  613. select BR2_TOOLCHAIN_GCC_AT_LEAST_4_6
  614. config BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
  615. bool
  616. select BR2_TOOLCHAIN_GCC_AT_LEAST_4_7
  617. config BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
  618. bool
  619. select BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
  620. config BR2_TOOLCHAIN_GCC_AT_LEAST_5
  621. bool
  622. select BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
  623. config BR2_TOOLCHAIN_GCC_AT_LEAST_6
  624. bool
  625. select BR2_TOOLCHAIN_GCC_AT_LEAST_5
  626. config BR2_TOOLCHAIN_GCC_AT_LEAST_7
  627. bool
  628. select BR2_TOOLCHAIN_GCC_AT_LEAST_6
  629. config BR2_TOOLCHAIN_GCC_AT_LEAST_8
  630. bool
  631. select BR2_TOOLCHAIN_GCC_AT_LEAST_7
  632. config BR2_TOOLCHAIN_GCC_AT_LEAST_9
  633. bool
  634. select BR2_TOOLCHAIN_GCC_AT_LEAST_8
  635. config BR2_TOOLCHAIN_GCC_AT_LEAST_10
  636. bool
  637. select BR2_TOOLCHAIN_GCC_AT_LEAST_9
  638. config BR2_TOOLCHAIN_GCC_AT_LEAST_11
  639. bool
  640. select BR2_TOOLCHAIN_GCC_AT_LEAST_10
  641. config BR2_TOOLCHAIN_GCC_AT_LEAST_12
  642. bool
  643. select BR2_TOOLCHAIN_GCC_AT_LEAST_11
  644. config BR2_TOOLCHAIN_GCC_AT_LEAST_13
  645. bool
  646. select BR2_TOOLCHAIN_GCC_AT_LEAST_12
  647. # This order guarantees that the highest version is set, as kconfig
  648. # stops affecting a value on the first matching default.
  649. config BR2_TOOLCHAIN_GCC_AT_LEAST
  650. string
  651. default "13" if BR2_TOOLCHAIN_GCC_AT_LEAST_13
  652. default "12" if BR2_TOOLCHAIN_GCC_AT_LEAST_12
  653. default "11" if BR2_TOOLCHAIN_GCC_AT_LEAST_11
  654. default "10" if BR2_TOOLCHAIN_GCC_AT_LEAST_10
  655. default "9" if BR2_TOOLCHAIN_GCC_AT_LEAST_9
  656. default "8" if BR2_TOOLCHAIN_GCC_AT_LEAST_8
  657. default "7" if BR2_TOOLCHAIN_GCC_AT_LEAST_7
  658. default "6" if BR2_TOOLCHAIN_GCC_AT_LEAST_6
  659. default "5" if BR2_TOOLCHAIN_GCC_AT_LEAST_5
  660. default "4.9" if BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
  661. default "4.8" if BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
  662. default "4.7" if BR2_TOOLCHAIN_GCC_AT_LEAST_4_7
  663. default "4.6" if BR2_TOOLCHAIN_GCC_AT_LEAST_4_6
  664. default "4.5" if BR2_TOOLCHAIN_GCC_AT_LEAST_4_5
  665. default "4.4" if BR2_TOOLCHAIN_GCC_AT_LEAST_4_4
  666. default "4.3" if BR2_TOOLCHAIN_GCC_AT_LEAST_4_3
  667. config BR2_TOOLCHAIN_HAS_MNAN_OPTION
  668. bool
  669. default y if BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
  670. config BR2_TOOLCHAIN_HAS_SYNC_1
  671. bool
  672. default y
  673. depends on !BR2_m68k_cf
  674. depends on !BR2_microblaze
  675. depends on !BR2_sparc
  676. depends on !(BR2_arc && !BR2_ARC_ATOMIC_EXT)
  677. config BR2_TOOLCHAIN_HAS_SYNC_2
  678. bool
  679. default y if BR2_TOOLCHAIN_HAS_SYNC_1
  680. config BR2_TOOLCHAIN_HAS_SYNC_4
  681. bool
  682. default y
  683. depends on !BR2_m68k_cf
  684. depends on !BR2_sparc
  685. depends on !(BR2_arc && !BR2_ARC_ATOMIC_EXT)
  686. # The availability of __sync for 8-byte types on ARM is somewhat
  687. # complicated:
  688. #
  689. # - It appeared in gcc starting with gcc 4.7.
  690. #
  691. # - On ARMv7, there is no problem, it can be directly implemented in
  692. # userspace.
  693. #
  694. # - On < ARMv7, it requires help from the kernel. Unfortunately, the
  695. # libgcc code implementing 8-byte __sync with the help from the
  696. # kernel calls __write() when a failure occurs, which is a function
  697. # internal to glibc, not available in uClibc and musl. This means
  698. # that the 8-byte __sync operations are not available on < ARMv7
  699. # with uClibc and musl. This problem was fixed as part of gcc
  700. # PR68059, which was backported to the gcc 5 branch, but isn't yet
  701. # part of any gcc 5.x release.
  702. #
  703. config BR2_TOOLCHAIN_ARM_HAS_SYNC_8
  704. bool
  705. default y
  706. depends on BR2_arm || BR2_armeb
  707. depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_7
  708. depends on BR2_TOOLCHAIN_USES_GLIBC || BR2_ARM_CPU_ARMV7A
  709. # 8-byte intrinsics available on most x86 CPUs, except a few old ones
  710. config BR2_TOOLCHAIN_X86_HAS_SYNC_8
  711. bool
  712. default y
  713. depends on BR2_i386
  714. depends on !BR2_x86_i486
  715. depends on !BR2_x86_c3
  716. depends on !BR2_x86_winchip_c6
  717. depends on !BR2_x86_winchip2
  718. # 8-byte intrinsics available:
  719. # - On all 64 bits architecture
  720. # - On a certain combinations of ARM platforms
  721. # - On certain x86 32 bits CPUs
  722. config BR2_TOOLCHAIN_HAS_SYNC_8
  723. bool
  724. default y if BR2_ARCH_IS_64
  725. default y if BR2_TOOLCHAIN_ARM_HAS_SYNC_8
  726. default y if BR2_TOOLCHAIN_X86_HAS_SYNC_8
  727. # libatomic is available since gcc 4.8, when thread support is enabled.
  728. # However, the gcc logic in libatomic/configure.tgt does not recognize
  729. # "uclinux" as a valid OS part of the target tuple, and therefore it
  730. # does not build libatomic. The "uclinux" part of the tuple is used by
  731. # Buildroot when BR2_BINFMT_FLAT=y. This broken logic has only been
  732. # fixed for arm since gcc 10.1.0.
  733. config BR2_TOOLCHAIN_HAS_LIBATOMIC
  734. bool
  735. default y if BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
  736. depends on BR2_TOOLCHAIN_HAS_THREADS
  737. depends on BR2_BINFMT_ELF || \
  738. (BR2_BINFMT_FLAT && BR2_arm && \
  739. BR2_TOOLCHAIN_GCC_AT_LEAST_10)
  740. # __atomic intrinsics are available:
  741. # - with gcc 4.8, either through built-ins or libatomic, on all
  742. # architectures. Since we don't want to separate the cases where
  743. # libatomic is needed vs. not needed, we simplify thing and only
  744. # support situations where libatomic is available, even if on some
  745. # architectures libatomic is not strictly needed as all __atomic
  746. # intrinsics might be built-in. The only case where libatomic is
  747. # missing entirely is when the toolchain does not have support for
  748. # threads. However, a package that does not need threads but still
  749. # uses atomics is quite a corner case, which does not warrant the
  750. # added complexity.
  751. # - with gcc 4.7, libatomic did not exist, so only built-ins are
  752. # available. This means that __atomic can only be used in a subset
  753. # of the architectures
  754. config BR2_TOOLCHAIN_HAS_ATOMIC
  755. bool
  756. default y if BR2_TOOLCHAIN_HAS_LIBATOMIC
  757. default y if BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 && BR2_arm
  758. default y if BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 && BR2_armeb
  759. default y if BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 && BR2_xtensa
  760. default y if BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 && BR2_ARCH_IS_64
  761. # - libquadmath is not needed/available on all architectures (but gcc
  762. # correctly handles this already).
  763. # - At least, libquadmath is available on:
  764. # - i*86
  765. # - x86_64
  766. # - PowerPC with vector scalar (VSX) instruction set
  767. # - When available, libquadmath requires wchar support.
  768. config BR2_TOOLCHAIN_HAS_LIBQUADMATH
  769. bool
  770. default y if BR2_i386 || BR2_x86_64
  771. default y if BR2_POWERPC_CPU_HAS_VSX
  772. comment "Bare metal toolchain"
  773. config BR2_TOOLCHAIN_BARE_METAL_BUILDROOT
  774. bool "Build a bare metal toolchain"
  775. select BR2_PACKAGE_NEWLIB_BARE_METAL
  776. help
  777. Select if you need a bare-metal toolchain for building
  778. platform specific firmware images.
  779. source "toolchain/toolchain-bare-metal-buildroot/Config.in"
  780. endmenu