summaryrefslogtreecommitdiffstats
path: root/target/device
diff options
context:
space:
mode:
authorUlf Samuelsson <ulf.samuelsson@atmel.com>2007-07-31 14:59:58 +0000
committerUlf Samuelsson <ulf.samuelsson@atmel.com>2007-07-31 14:59:58 +0000
commit840325e17001c82cbe1538e8dcacf1467c5ac683 (patch)
treee4762c1bff9898aca5097c082796645c01ece60d /target/device
parent87111a1935be1c06879bb3accc9d3f28def4df20 (diff)
downloadbuildroot-novena-840325e17001c82cbe1538e8dcacf1467c5ac683.tar.gz
buildroot-novena-840325e17001c82cbe1538e8dcacf1467c5ac683.zip
Add support for prepatched toolchains
Diffstat (limited to 'target/device')
-rw-r--r--target/device/Atmel/Mirrors.in27
-rw-r--r--target/device/Mirrors.in17
-rw-r--r--target/device/Toolchain.in51
3 files changed, 95 insertions, 0 deletions
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