Commit 20290b81 authored by Bernhard Reutner-Fischer's avatar Bernhard Reutner-Fischer
Browse files

Prepatory patch to allow AVR32/AT91 support from Ulf Samuelsson

- Introduce AVR32 target architecture "avr32"
- Introduce AVR32 target variants (AP7000/AP7010/AP7020)
- Introduce Download location for patches/packages for Atmel chips (BR2_ATMEL_MIRROR)
- Introduce Download location for Community AT91 patches/packages (BR2_AT91_PATCH_MIRROR)
parent bbfb7b6e
Loading
Loading
Loading
Loading
+42 −1
Original line number Diff line number Diff line
@@ -18,6 +18,8 @@ config BR2_arm
	bool "arm"
config BR2_armeb
	bool "armeb"
config BR2_avr32
	bool "avr32"
config BR2_cris
	bool "cris"
config BR2_i386
@@ -109,6 +111,18 @@ config BR2_ARM_EABI
	bool "EABI"
endchoice

choice
	prompt "Target Architecture Variant"
	depends BR2_avr32
config BR2_ap7000
	bool "AP7000"
config BR2_ap7010
	bool "AP7010"
config BR2_ap7020
	bool "AP7020"
endchoice


choice
	prompt "Target Architecture Variant"
	depends BR2_sh
@@ -156,6 +170,7 @@ config BR2_ARCH
	default "alpha"		if BR2_alpha
	default "arm"		if BR2_arm
	default "armeb"		if BR2_armeb
	default "avr32"		if BR2_avr32
	default "cris"		if BR2_cris
	default "i386"		if BR2_x86_i386
	default "i486"		if BR2_x86_i486
@@ -181,7 +196,7 @@ config BR2_ENDIAN
	default "LITTLE" if BR2_arm || BR2_cris || BR2_i386 || BR2_mipsel || \
	                    BR2_sh3 || BR2_sh4 || BR2_x86_64 || BR2_nios2 || \
			    BR2_sh64
	default "BIG"    if BR2_alpha || BR2_armeb || BR2_m68k || BR2_mips || \
	default "BIG"    if BR2_alpha || BR2_armeb || BR2_avr32 || BR2_m68k || BR2_mips || \
	                    BR2_powerpc || BR2_sh2a_nofpueb || BR2_sh2eb || \
	                    BR2_sh3eb || BR2_sh4eb || BR2_sparc

@@ -241,6 +256,32 @@ config BR2_SOURCEFORGE_MIRROR
	  The list of mirrors is available here:
	  http://prdownloads.sourceforge.net/index-sf.html?download

config BR2_ATMEL_MIRROR
	depends BR2_avr32 || BR2_arm
	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
	depends BR2_arm
	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
	  
config BR2_STAGING_DIR
	string "Toolchain and header file location?"
	default "$(BUILD_DIR)/staging_dir"