From 350ced4a71bc3151fbbe87ead6627a18bd3da55e Mon Sep 17 00:00:00 2001 From: Ulf Samuelsson Date: Sat, 20 Dec 2008 22:27:56 +0000 Subject: [PATCH] Add updated gcc-4.2.2 prepatched toolchain for AVR32 --- target/device/Config.in.toolchain | 24 +++++++++++++++++++ .../kernel-headers-new.makefile | 2 ++ 2 files changed, 26 insertions(+) diff --git a/target/device/Config.in.toolchain b/target/device/Config.in.toolchain index 2528ed88cb..172222d742 100644 --- a/target/device/Config.in.toolchain +++ b/target/device/Config.in.toolchain @@ -51,6 +51,23 @@ config BR2_TOOLCHAIN_ATMEL_AVR32_4_2_2 It is generated from buildroot-avr32-v2.2.0-rc4 in http://www.atmel.no/buildroot +config BR2_TOOLCHAIN_ATMEL_AVR32_4_2_2_REV_2 + bool "Use prepatched source for AVR32 gcc-4.2.2 toolchain" + depends on BR2_avr32 + select BR2_EXT_GCC_VERSION_4_2_2 + select BR2_EXT_BINUTILS_VERSION_2_18 + select BR2_EXT_UCLIBC_VERSION_0_9_29 + select BR2_TOOLCHAIN_ATMEL_AVR32 + select BR2_GCC_SUPPORTS_SYSROOT + help + The gcc-4.2.2 toolchain for the AVR32 + * gcc-4.2.2 + * binutils-2.18 + * uClibc-0.9.29 + * gdb-6.7.1 + It is generated from buildroot-avr32-v2.3.0-rc1 + in http://www.atmel.no/buildroot + config BR2_TOOLCHAIN_ATMEL_AVR32_4_2_3 bool "Use prepatched source for AVR32 gcc-4.2.3 toolchain" depends on BR2_avr32 @@ -94,6 +111,7 @@ config BR2_VENDOR_BINUTILS_RELEASE default "-2.1.3" if BR2_TOOLCHAIN_ATMEL_AVR32_4_1_2 default "-2.1.3" if BR2_TOOLCHAIN_ATMEL_AVR32_4_2_1 default "-2.1.5" if BR2_TOOLCHAIN_ATMEL_AVR32_4_2_2 + default "-1.0.1" if BR2_TOOLCHAIN_ATMEL_AVR32_4_2_2_REV_2 default "-2.1.5" if BR2_TOOLCHAIN_ATMEL_AVR32_4_2_3 config BR2_VENDOR_GCC_RELEASE @@ -101,6 +119,7 @@ config BR2_VENDOR_GCC_RELEASE default "-2.0" if BR2_TOOLCHAIN_ATMEL_AVR32_4_1_2 default "-2.1.3" if BR2_TOOLCHAIN_ATMEL_AVR32_4_2_1 default "-2.1.5" if BR2_TOOLCHAIN_ATMEL_AVR32_4_2_2 + default "-1.1.3" if BR2_TOOLCHAIN_ATMEL_AVR32_4_2_2_REV_2 default "-2.1.5" if BR2_TOOLCHAIN_ATMEL_AVR32_4_2_3 config BR2_VENDOR_UCLIBC_RELEASE @@ -108,6 +127,7 @@ config BR2_VENDOR_UCLIBC_RELEASE default "-2.1.3" if BR2_TOOLCHAIN_ATMEL_AVR32_4_1_2 default "-2.1.3" if BR2_TOOLCHAIN_ATMEL_AVR32_4_2_1 default "-2.1.5" if BR2_TOOLCHAIN_ATMEL_AVR32_4_2_2 + default "-2.1.5" if BR2_TOOLCHAIN_ATMEL_AVR32_4_2_2_REV_2 default "-2.1.5" if BR2_TOOLCHAIN_ATMEL_AVR32_4_2_3 config BR2_VENDOR_GDB_RELEASE @@ -174,6 +194,10 @@ config BR2_EXT_BINUTILS_VERSION_2_17 bool default !BR2_TOOLCHAIN_EXTERNAL_SOURCE +config BR2_EXT_BINUTILS_VERSION_2_18 + bool + default !BR2_TOOLCHAIN_EXTERNAL_SOURCE + config BR2_EXT_UCLIBC_VERSION_0_9_28_3 bool default !BR2_TOOLCHAIN_EXTERNAL_SOURCE diff --git a/toolchain/kernel-headers/kernel-headers-new.makefile b/toolchain/kernel-headers/kernel-headers-new.makefile index dce9ee8a5c..94c0570836 100644 --- a/toolchain/kernel-headers/kernel-headers-new.makefile +++ b/toolchain/kernel-headers/kernel-headers-new.makefile @@ -77,6 +77,8 @@ ifeq ($(BR2_PACKAGE_OPENSWAN),y) toolchain/patch-kernel.sh $(LINUX_HEADERS_UNPACK_DIR) package/openswan \ linux-$(LINUX_HEADERS_VERSION)-\*.patch{,.gz,.bz2} endif + toolchain/patch-kernel.sh $(LINUX_HEADERS_UNPACK_DIR) toolchain/kernel-headers/arch/$(ARCH)/linux-$(LINUX_HEADERS_VERSION) \ + linux-\*.patch{,.gz,.bz2} touch $@ $(LINUX_HEADERS_DIR)/.configured: $(LINUX_HEADERS_UNPACK_DIR)/.patched -- 2.30.2