2007-09-22 22:16:25 +08:00
|
|
|
menu "Toolchain"
|
2013-07-01 03:29:09 +08:00
|
|
|
|
2014-04-07 17:56:48 +08:00
|
|
|
# Invisible option that makes sure the toolchain package always gets
|
|
|
|
# built
|
|
|
|
config BR2_TOOLCHAIN
|
|
|
|
bool
|
|
|
|
default y
|
|
|
|
|
2013-07-01 03:29:09 +08:00
|
|
|
# Should be selected for glibc or eglibc
|
|
|
|
config BR2_TOOLCHAIN_USES_GLIBC
|
|
|
|
bool
|
|
|
|
select BR2_USE_WCHAR
|
|
|
|
select BR2_ENABLE_LOCALE
|
|
|
|
select BR2_TOOLCHAIN_HAS_THREADS
|
|
|
|
select BR2_TOOLCHAIN_HAS_THREADS_DEBUG
|
2014-02-19 05:08:59 +08:00
|
|
|
select BR2_TOOLCHAIN_HAS_THREADS_NPTL
|
2013-07-01 03:29:09 +08:00
|
|
|
select BR2_TOOLCHAIN_HAS_SHADOW_PASSWORDS
|
2016-07-11 22:35:14 +08:00
|
|
|
select BR2_TOOLCHAIN_SUPPORTS_PIE
|
2013-07-01 03:29:09 +08:00
|
|
|
|
|
|
|
config BR2_TOOLCHAIN_USES_UCLIBC
|
|
|
|
bool
|
2016-08-01 05:41:26 +08:00
|
|
|
select BR2_TOOLCHAIN_SUPPORTS_PIE if !BR2_m68k && !BR2_microblaze && !BR2_STATIC_LIBS
|
2013-07-01 03:29:09 +08:00
|
|
|
|
2013-10-09 02:17:09 +08:00
|
|
|
config BR2_TOOLCHAIN_USES_MUSL
|
|
|
|
bool
|
|
|
|
select BR2_USE_WCHAR
|
|
|
|
select BR2_ENABLE_LOCALE
|
|
|
|
select BR2_TOOLCHAIN_HAS_THREADS
|
|
|
|
select BR2_TOOLCHAIN_HAS_THREADS_DEBUG
|
2014-02-19 05:08:59 +08:00
|
|
|
select BR2_TOOLCHAIN_HAS_THREADS_NPTL
|
2017-05-23 06:07:09 +08:00
|
|
|
select BR2_TOOLCHAIN_SUPPORTS_PIE if !BR2_STATIC_LIBS
|
2013-10-09 02:17:09 +08:00
|
|
|
|
2007-02-07 02:19:38 +08:00
|
|
|
choice
|
|
|
|
prompt "Toolchain type"
|
2005-08-04 11:49:25 +08:00
|
|
|
help
|
2007-09-27 05:12:38 +08:00
|
|
|
Select whether to use the toolchain provided by buildroot
|
|
|
|
or an external toolchain.
|
|
|
|
|
|
|
|
Some vendors provide toolchains in binary form, some in
|
|
|
|
source form.
|
2007-09-26 06:03:18 +08:00
|
|
|
|
2007-02-07 02:19:38 +08:00
|
|
|
config BR2_TOOLCHAIN_BUILDROOT
|
2007-09-22 22:16:25 +08:00
|
|
|
bool "Buildroot toolchain"
|
2011-05-31 05:56:57 +08:00
|
|
|
select BR2_TOOLCHAIN_HAS_SHADOW_PASSWORDS
|
2016-07-07 06:30:15 +08:00
|
|
|
depends on !BR2_bf606
|
|
|
|
depends on !BR2_bf607
|
|
|
|
depends on !BR2_bf608
|
|
|
|
depends on !BR2_bf609
|
2017-03-03 09:20:20 +08:00
|
|
|
depends on !BR2_csky
|
2008-08-05 03:07:05 +08:00
|
|
|
|
2007-02-07 02:19:38 +08:00
|
|
|
config BR2_TOOLCHAIN_EXTERNAL
|
2010-02-08 18:01:04 +08:00
|
|
|
bool "External toolchain"
|
2010-12-14 00:27:39 +08:00
|
|
|
help
|
|
|
|
Select if you want to use an existing cross-compiling
|
|
|
|
toolchain. Buildroot can either download automatically a
|
|
|
|
toolchain, or use an already installed toolchain.
|
2007-09-27 05:12:38 +08:00
|
|
|
|
2007-02-07 02:19:38 +08:00
|
|
|
endchoice
|
2004-10-09 09:06:03 +08:00
|
|
|
|
2010-07-28 06:08:16 +08:00
|
|
|
source "toolchain/toolchain-buildroot/Config.in"
|
2010-07-28 06:08:14 +08:00
|
|
|
source "toolchain/toolchain-external/Config.in"
|
2010-07-28 06:08:16 +08:00
|
|
|
source "toolchain/toolchain-common.in"
|
2008-12-15 23:28:48 +08:00
|
|
|
|
2007-09-22 22:16:25 +08:00
|
|
|
endmenu
|