2007-09-22 16:16:25 +02:00
|
|
|
menu "Toolchain"
|
2007-02-06 19:19:38 +01:00
|
|
|
choice
|
|
|
|
prompt "Toolchain type"
|
2008-03-29 12:04:30 +01:00
|
|
|
default BR2_TOOLCHAIN_BUILDROOT if !BR2_avr32
|
|
|
|
default BR2_TOOLCHAIN_EXTERNAL_SOURCE if BR2_avr32
|
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"
|
2008-03-29 12:04:30 +01:00
|
|
|
depends on !BR2_avr32
|
2008-08-04 21:07:05 +02:00
|
|
|
|
2007-02-06 19:19:38 +01:00
|
|
|
config BR2_TOOLCHAIN_EXTERNAL
|
2007-09-26 23:12:38 +02:00
|
|
|
bool "External binary toolchain"
|
|
|
|
|
|
|
|
config BR2_TOOLCHAIN_EXTERNAL_SOURCE
|
|
|
|
bool "External source toolchain"
|
2007-02-06 19:19:38 +01:00
|
|
|
endchoice
|
2004-10-09 03:06:03 +02:00
|
|
|
|
2007-09-26 23:12:38 +02:00
|
|
|
config BR2_TOOLCHAIN_SOURCE
|
|
|
|
bool
|
|
|
|
default y if BR2_TOOLCHAIN_BUILDROOT || BR2_TOOLCHAIN_EXTERNAL_SOURCE
|
|
|
|
default n if BR2_TOOLCHAIN_EXTERNAL
|
|
|
|
|
2007-09-28 23:54:36 +02:00
|
|
|
source "target/device/Config.in.toolchain"
|
2007-07-31 16:59:58 +02:00
|
|
|
|
2008-12-15 16:28:48 +01:00
|
|
|
source "toolchain/Config.in.1"
|
2007-02-06 19:19:38 +01:00
|
|
|
source "toolchain/external-toolchain/Config.in"
|
2007-09-22 16:16:25 +02:00
|
|
|
|
2008-12-15 16:28:48 +01:00
|
|
|
# we want gdb config in the middle of both source and external
|
|
|
|
# toolchains, but mconf won't let us source the same file twice,
|
|
|
|
# so put it here instead
|
|
|
|
source "toolchain/gdb/Config.in"
|
|
|
|
comment "Common Toolchain Options"
|
|
|
|
|
|
|
|
source "toolchain/Config.in.2"
|
2009-02-04 14:42:40 +01:00
|
|
|
source "toolchain/external-toolchain/Config.in.2"
|
2008-12-15 16:28:48 +01:00
|
|
|
|
2007-09-22 16:16:25 +02:00
|
|
|
endmenu
|