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