From 840325e17001c82cbe1538e8dcacf1467c5ac683 Mon Sep 17 00:00:00 2001 From: Ulf Samuelsson Date: Tue, 31 Jul 2007 14:59:58 +0000 Subject: Add support for prepatched toolchains --- target/device/Atmel/Mirrors.in | 27 ++++++++++++++++++++++ target/device/Mirrors.in | 17 ++++++++++++++ target/device/Toolchain.in | 51 ++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 95 insertions(+) create mode 100644 target/device/Atmel/Mirrors.in create mode 100644 target/device/Mirrors.in create mode 100644 target/device/Toolchain.in (limited to 'target/device') diff --git a/target/device/Atmel/Mirrors.in b/target/device/Atmel/Mirrors.in new file mode 100644 index 000000000..64eb5316f --- /dev/null +++ b/target/device/Atmel/Mirrors.in @@ -0,0 +1,27 @@ +menu "Atmel Mirrors" + +config BR2_ATMEL_MIRROR + string "Atmel AVR32/AT91 download site" + default "ftp://at91dist:distrib@81.80.104.162/AT91_Third_Party_Design_Flow/Linux_Host/" + help + Unofficial site for AVR32/AT91 Buildroot patches, or your local mirror. + Atmel does not currently support buildroot, but this site makes + available neccessary patches and prepatched packages useful + to extend a buildroot for AVR32 or AT91 ARM based boards. + Issues with contents of this server needs to be highlighted + on the buildroot mailing list and + should not be addressed directly to Atmel + Atmel provides support for their AVR32 chips on + http://avr32linux.org/ or http://www.avrfreaks.net/ + Atmel provides support for AT91 chips on www.at91.com. + Commercial AT91 Linux support is through www.timesys.com + Community AT91 Linux support is through http://maxim.org.za/AT91_26.html + +config BR2_AT91_PATCH_MIRROR + string "Atmel AT91 Linux Patch download site" + default "http://maxim.org.za/AT91RM9200/2.6/" + help + Patches for the AT91 generated by the Linux community + usually ends up here, courtesy of Andrew Victor + +endmenu diff --git a/target/device/Mirrors.in b/target/device/Mirrors.in new file mode 100644 index 000000000..477429fff --- /dev/null +++ b/target/device/Mirrors.in @@ -0,0 +1,17 @@ +menu "Mirrors and Download locations" + +config BR2_SOURCEFORGE_MIRROR + string "Sourceforge mirror site" + default "easynews" + help + Sourceforge has a system of mirror sites. Some sites may be closer + to your location, and sometimes mirror sites go down and are no longer + available. This option allows you to select your preferred Sourceforge + mirror site. + + The list of mirrors is available here: + http://prdownloads.sourceforge.net/index-sf.html?download + +source "target/device/Atmel/Mirrors.in" + +endmenu diff --git a/target/device/Toolchain.in b/target/device/Toolchain.in new file mode 100644 index 000000000..617cca325 --- /dev/null +++ b/target/device/Toolchain.in @@ -0,0 +1,51 @@ +choice + prompt "Source location:" + 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" + +config BR2_TOOLCHAIN_ATMEL_AVR32 + 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 + +endchoice + +config BR2_VENDOR_SITE + string + default $(BR2_ATMEL_MIRROR) if BR2_TOOLCHAIN_ATMEL_AVR32 + +config BR2_VENDOR_SUFFIX + string + default "-avr32" if BR2_TOOLCHAIN_ATMEL_AVR32 + +config BR2_VENDOR_BINUTILS_RELEASE + string + default "-2.0" if BR2_TOOLCHAIN_ATMEL_AVR32 + +config BR2_VENDOR_GCC_RELEASE + string + default "-2.0" if BR2_TOOLCHAIN_ATMEL_AVR32 + +config BR2_VENDOR_UCLIBC_RELEASE + string + default "-2.0" if BR2_TOOLCHAIN_ATMEL_AVR32 + +config BR2_VENDOR_GDB_RELEASE + string + default "-2.0" if BR2_TOOLCHAIN_ATMEL_AVR32 + +config BR2_VENDOR_PATCH_DIR + string + default "target/device/Atmel/toolchain/avr32" if BR2_TOOLCHAIN_ATMEL_AVR32 -- cgit v1.2.3