blob: bbfd367a48bc13d26a5e3797d5b1f5e432247cc4 [file] [log] [blame]
Bernhard Reutner-Fischer51a61c92007-09-22 14:16:25 +00001menu "Toolchain"
Thomas Petazzoni381616e2013-06-30 21:29:09 +02002
3# Should be selected for glibc or eglibc
4config BR2_TOOLCHAIN_USES_GLIBC
5 bool
6 select BR2_LARGEFILE
7 select BR2_INET_IPV6
8 select BR2_USE_WCHAR
9 select BR2_ENABLE_LOCALE
10 select BR2_TOOLCHAIN_HAS_THREADS
11 select BR2_TOOLCHAIN_HAS_THREADS_DEBUG
12 select BR2_TOOLCHAIN_HAS_SHADOW_PASSWORDS
Thomas Petazzonic5866be2013-09-02 18:06:36 +020013 select BR2_TOOLCHAIN_HAS_SSP
Thomas Petazzoni381616e2013-06-30 21:29:09 +020014
15config BR2_TOOLCHAIN_USES_UCLIBC
16 bool
17
Thomas Petazzonia1d94aa2013-10-08 20:17:09 +020018config BR2_TOOLCHAIN_USES_MUSL
19 bool
20 select BR2_LARGEFILE
21 select BR2_INET_IPV6
22 select BR2_USE_WCHAR
23 select BR2_ENABLE_LOCALE
24 select BR2_TOOLCHAIN_HAS_THREADS
25 select BR2_TOOLCHAIN_HAS_THREADS_DEBUG
26
"Steven J. Hill"02f71aa2007-02-06 18:19:38 +000027choice
28 prompt "Toolchain type"
Eric Andersen2d523c22004-10-09 01:06:03 +000029 help
Bernhard Reutner-Fischer4b0d5a82007-09-26 21:12:38 +000030 Select whether to use the toolchain provided by buildroot
31 or an external toolchain.
32
33 Some vendors provide toolchains in binary form, some in
34 source form.
Bernhard Reutner-Fischer7bc7c8e2007-09-25 22:03:18 +000035
"Steven J. Hill"02f71aa2007-02-06 18:19:38 +000036config BR2_TOOLCHAIN_BUILDROOT
Bernhard Reutner-Fischer51a61c92007-09-22 14:16:25 +000037 bool "Buildroot toolchain"
Spenser Gilliland14e527e2013-12-05 18:20:56 +010038 depends on !BR2_aarch64 && !BR2_nios2
Thomas Petazzonib9882922011-05-30 23:56:57 +020039 select BR2_TOOLCHAIN_HAS_SHADOW_PASSWORDS
Peter Korsgaard02a623d2008-08-04 19:07:05 +000040
"Steven J. Hill"02f71aa2007-02-06 18:19:38 +000041config BR2_TOOLCHAIN_EXTERNAL
Peter Korsgaardecc81fe2010-02-08 11:01:04 +010042 bool "External toolchain"
Thomas Petazzoni6c492d52010-12-13 17:27:39 +010043 help
44 Select if you want to use an existing cross-compiling
45 toolchain. Buildroot can either download automatically a
46 toolchain, or use an already installed toolchain.
Bernhard Reutner-Fischer4b0d5a82007-09-26 21:12:38 +000047
"Steven J. Hill"02f71aa2007-02-06 18:19:38 +000048endchoice
Eric Andersen2d523c22004-10-09 01:06:03 +000049
Yann E. MORIN2508b162010-07-28 00:08:16 +020050source "toolchain/toolchain-buildroot/Config.in"
Yann E. MORINf78ea9f2010-07-28 00:08:14 +020051source "toolchain/toolchain-external/Config.in"
Yann E. MORIN2508b162010-07-28 00:08:16 +020052source "toolchain/toolchain-common.in"
Peter Korsgaarde2e49502008-12-15 15:28:48 +000053
Bernhard Reutner-Fischer51a61c92007-09-22 14:16:25 +000054endmenu