2007-09-22 16:16:25 +02:00
|
|
|
menu "Toolchain"
|
2013-06-30 21:29:09 +02:00
|
|
|
|
2014-04-07 11:56:48 +02:00
|
|
|
# Invisible option that makes sure the toolchain package always gets
|
|
|
|
# built
|
|
|
|
config BR2_TOOLCHAIN
|
|
|
|
bool
|
|
|
|
default y
|
|
|
|
|
2013-06-30 21:29:09 +02: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-18 22:08:59 +01:00
|
|
|
select BR2_TOOLCHAIN_HAS_THREADS_NPTL
|
2013-06-30 21:29:09 +02:00
|
|
|
select BR2_TOOLCHAIN_HAS_SHADOW_PASSWORDS
|
2016-07-11 16:35:14 +02:00
|
|
|
select BR2_TOOLCHAIN_SUPPORTS_PIE
|
2013-06-30 21:29:09 +02:00
|
|
|
|
|
|
|
config BR2_TOOLCHAIN_USES_UCLIBC
|
|
|
|
bool
|
2016-07-31 23:41:26 +02:00
|
|
|
select BR2_TOOLCHAIN_SUPPORTS_PIE if !BR2_m68k && !BR2_microblaze && !BR2_STATIC_LIBS
|
2013-06-30 21:29:09 +02:00
|
|
|
|
2013-10-08 20:17:09 +02: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-18 22:08:59 +01:00
|
|
|
select BR2_TOOLCHAIN_HAS_THREADS_NPTL
|
2017-05-23 00:07:09 +02:00
|
|
|
select BR2_TOOLCHAIN_SUPPORTS_PIE if !BR2_STATIC_LIBS
|
2013-10-08 20:17:09 +02:00
|
|
|
|
2007-02-06 19:19:38 +01:00
|
|
|
choice
|
|
|
|
prompt "Toolchain type"
|
2005-08-04 05:49:25 +02:00
|
|
|
help
|
2007-09-26 23:12:38 +02: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 00:03:18 +02:00
|
|
|
|
2007-02-06 19:19:38 +01:00
|
|
|
config BR2_TOOLCHAIN_BUILDROOT
|
2007-09-22 16:16:25 +02:00
|
|
|
bool "Buildroot toolchain"
|
2011-05-30 23:56:57 +02:00
|
|
|
select BR2_TOOLCHAIN_HAS_SHADOW_PASSWORDS
|
2016-07-07 00:30:15 +02:00
|
|
|
depends on !BR2_bf606
|
|
|
|
depends on !BR2_bf607
|
|
|
|
depends on !BR2_bf608
|
|
|
|
depends on !BR2_bf609
|
2017-03-03 02:20:20 +01:00
|
|
|
depends on !BR2_csky
|
2008-08-04 21:07:05 +02:00
|
|
|
|
2007-02-06 19:19:38 +01:00
|
|
|
config BR2_TOOLCHAIN_EXTERNAL
|
2010-02-08 11:01:04 +01:00
|
|
|
bool "External toolchain"
|
2010-12-13 17:27:39 +01: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-26 23:12:38 +02:00
|
|
|
|
2007-02-06 19:19:38 +01:00
|
|
|
endchoice
|
2004-10-09 03:06:03 +02:00
|
|
|
|
2010-07-28 00:08:16 +02:00
|
|
|
source "toolchain/toolchain-buildroot/Config.in"
|
2010-07-28 00:08:14 +02:00
|
|
|
source "toolchain/toolchain-external/Config.in"
|
2010-07-28 00:08:16 +02:00
|
|
|
source "toolchain/toolchain-common.in"
|
2008-12-15 16:28:48 +01:00
|
|
|
|
2007-09-22 16:16:25 +02:00
|
|
|
endmenu
|