summaryrefslogtreecommitdiff
path: root/target/device/Toolchain.in
diff options
context:
space:
mode:
authorUlf Samuelsson <ulf.samuelsson@atmel.com>2007-09-26 05:36:11 +0000
committerUlf Samuelsson <ulf.samuelsson@atmel.com>2007-09-26 05:36:11 +0000
commit01426334b4ef73074f32f77f9d4e0b77056dd780 (patch)
tree7f604632318d1bb4848bc84e88d901f9a7032079 /target/device/Toolchain.in
parent6b63009f5f386515388892399fac76fe81eed3c4 (diff)
reinstate AVR32 toolchain
Diffstat (limited to 'target/device/Toolchain.in')
-rw-r--r--target/device/Toolchain.in27
1 files changed, 19 insertions, 8 deletions
diff --git a/target/device/Toolchain.in b/target/device/Toolchain.in
index fc4d04a0d..6a35332e4 100644
--- a/target/device/Toolchain.in
+++ b/target/device/Toolchain.in
@@ -1,18 +1,30 @@
-if BR2_TOOLCHAIN_EXTERNAL_SOURCE
choice
prompt "Source location:"
-# default BR2_TOOLCHAIN_ATMEL_AVR32 if BR2_avr32
+ default BR2_TOOLCHAIN_NORMAL if!BR2_avr32
+ default BR2_TOOLCHAIN_ATMEL_AVR32 if BR2_avr32
+ depends on BR2_TOOLCHAIN_BUILDROOT
help
Select whether to use the toolchain built by the buildroot
system or an external pre-built toolchain.
+config BR2_TOOLCHAIN_NORMAL
+ bool
+ prompt "Use default sources for toolchain"
+ depends on !BR2_avr32
+ help
+ Download vanilla binutils, gcc, uclibc and gdb from their
+ main download locations, and apply patches from the
+ "toolchain/<package>" directores.
+ I.E: Do not download a prepatched vendor source suite.
+
config BR2_TOOLCHAIN_ATMEL_AVR32
- bool "Use prepatched source for AVR32 toolchain"
+ bool
+ prompt "Use prepatched source for AVR32 toolchain"
depends on BR2_avr32
-# depends on BR2_GCC_VERSION_4_1_2
-# depends on BR2_GDB_VERSION_6_4 || !BR2_PACKAGE_GDB
-# depends on BR2_BINUTILS_VERSION_2_17
-# depends on BR2_UCLIBC_VERSION_0_9_28_3
+ depends on BR2_GCC_VERSION_4_1_2
+ depends on BR2_GDB_VERSION_6_4 || !BR2_PACKAGE_GDB
+ depends on BR2_BINUTILS_VERSION_2_17
+ depends on BR2_UCLIBC_VERSION_0_9_28_3
endchoice
@@ -43,4 +55,3 @@ config BR2_VENDOR_GDB_RELEASE
config BR2_VENDOR_PATCH_DIR
string
default "target/device/Atmel/toolchain/avr32" if BR2_TOOLCHAIN_ATMEL_AVR32
-endif