From 34562eec83ecf3f5b98399a528baed96c012ef72 Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni Date: Fri, 27 Dec 2013 12:32:19 +0100 Subject: [PATCH] toolchain-external: update Linaro ARM toolchains Add Linaro ARM 2013.10 and Linaro ARM 2013.11, and remove Linaro ARM 2013.07 and Linaro ARM 2013.08. The main change for those versions is the switch to eglibc 2.18. Signed-off-by: Thomas Petazzoni --- toolchain/toolchain-external/Config.in | 92 +++++++++---------- .../toolchain-external/toolchain-external.mk | 16 ++-- 2 files changed, 54 insertions(+), 54 deletions(-) diff --git a/toolchain/toolchain-external/Config.in b/toolchain/toolchain-external/Config.in index 59a6cc2a86..66cdacd68e 100644 --- a/toolchain/toolchain-external/Config.in +++ b/toolchain/toolchain-external/Config.in @@ -6,6 +6,50 @@ choice comment "(e)glibc toolchains only available with shared lib support" depends on BR2_PREFER_STATIC_LIB +config BR2_TOOLCHAIN_EXTERNAL_LINARO_2013_11 + bool "Linaro 2013.11" + depends on BR2_arm + depends on BR2_GCC_TARGET_ARCH = "armv7-a" + depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86" + depends on BR2_ARM_EABIHF + depends on !BR2_PREFER_STATIC_LIB + select BR2_TOOLCHAIN_EXTERNAL_GLIBC + select BR2_TOOLCHAIN_HAS_NATIVE_RPC + select BR2_INSTALL_LIBSTDCPP + select BR2_HOSTARCH_NEEDS_IA32_LIBS + help + Linaro toolchain for the ARM architecture. It uses Linaro + GCC 2013.11 (based on gcc 4.8), Linaro GDB 2013.10 (based on + GDB 7.6), eglibc 2.18, Binutils 2013.10 (based on 2.23). It + generates code that runs on all Cortex-A profile devices, + but tuned for the Cortex-A9. The code generated is Thumb 2, + with the hard floating point calling convention, and uses + the VFPv3-D16 FPU instructions. + + To use this toolchain, you must disable soft float usage. + +config BR2_TOOLCHAIN_EXTERNAL_LINARO_2013_10 + bool "Linaro 2013.10" + depends on BR2_arm + depends on BR2_GCC_TARGET_ARCH = "armv7-a" + depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86" + depends on BR2_ARM_EABIHF + depends on !BR2_PREFER_STATIC_LIB + select BR2_TOOLCHAIN_EXTERNAL_GLIBC + select BR2_TOOLCHAIN_HAS_NATIVE_RPC + select BR2_INSTALL_LIBSTDCPP + select BR2_HOSTARCH_NEEDS_IA32_LIBS + help + Linaro toolchain for the ARM architecture. It uses Linaro + GCC 2013.10 (based on gcc 4.8), Linaro GDB 2013.10 (based on + GDB 7.6), eglibc 2.18, Binutils 2013.10 (based on 2.23). It + generates code that runs on all Cortex-A profile devices, + but tuned for the Cortex-A9. The code generated is Thumb 2, + with the hard floating point calling convention, and uses + the VFPv3-D16 FPU instructions. + + To use this toolchain, you must disable soft float usage. + config BR2_TOOLCHAIN_EXTERNAL_LINARO_2013_09 bool "Linaro 2013.09" depends on BR2_arm @@ -28,50 +72,6 @@ config BR2_TOOLCHAIN_EXTERNAL_LINARO_2013_09 To use this toolchain, you must disable soft float usage. -config BR2_TOOLCHAIN_EXTERNAL_LINARO_2013_08 - bool "Linaro 2013.08" - depends on BR2_arm - depends on BR2_GCC_TARGET_ARCH = "armv7-a" - depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86" - depends on BR2_ARM_EABIHF - depends on !BR2_PREFER_STATIC_LIB - select BR2_TOOLCHAIN_EXTERNAL_GLIBC - select BR2_TOOLCHAIN_HAS_NATIVE_RPC - select BR2_INSTALL_LIBSTDCPP - select BR2_HOSTARCH_NEEDS_IA32_LIBS - help - Linaro toolchain for the ARM architecture. It uses Linaro - GCC 2013.08 (based on gcc 4.8), Linaro GDB 2013.05 (based on - GDB 7.6), eglibc 2.17, Binutils 2013.06 (based on 2.23). It - generates code that runs on all Cortex-A profile devices, - but tuned for the Cortex-A9. The code generated is Thumb 2, - with the hard floating point calling convention, and uses - the VFPv3-D16 FPU instructions. - - To use this toolchain, you must disable soft float usage. - -config BR2_TOOLCHAIN_EXTERNAL_LINARO_2013_07 - bool "Linaro 2013.07" - depends on BR2_arm - depends on BR2_GCC_TARGET_ARCH = "armv7-a" - depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86" - depends on BR2_ARM_EABIHF - depends on !BR2_PREFER_STATIC_LIB - select BR2_TOOLCHAIN_EXTERNAL_GLIBC - select BR2_TOOLCHAIN_HAS_NATIVE_RPC - select BR2_INSTALL_LIBSTDCPP - select BR2_HOSTARCH_NEEDS_IA32_LIBS - help - Linaro toolchain for the ARM architecture. It uses Linaro - GCC 2013.07 (based on gcc 4.8), Linaro GDB 2013.05 (based on - GDB 7.6), eglibc 2.17, Binutils 2013.06 (based on 2.23). It - generates code that runs on all Cortex-A profile devices, - but tuned for the Cortex-A9. The code generated is Thumb 2, - with the hard floating point calling convention, and uses - the VFPv3-D16 FPU instructions. - - To use this toolchain, you must disable soft float usage. - comment "Linaro toolchains available for Cortex-A + EABIhf" depends on BR2_arm depends on BR2_GCC_TARGET_ARCH != "armv7-a" || !BR2_ARM_EABIHF @@ -836,9 +836,9 @@ config BR2_TOOLCHAIN_EXTERNAL_CUSTOM_PREFIX config BR2_TOOLCHAIN_EXTERNAL_PREFIX string + default "arm-linux-gnueabihf" if BR2_TOOLCHAIN_EXTERNAL_LINARO_2013_11 + default "arm-linux-gnueabihf" if BR2_TOOLCHAIN_EXTERNAL_LINARO_2013_10 default "arm-linux-gnueabihf" if BR2_TOOLCHAIN_EXTERNAL_LINARO_2013_09 - default "arm-linux-gnueabihf" if BR2_TOOLCHAIN_EXTERNAL_LINARO_2013_08 - default "arm-linux-gnueabihf" if BR2_TOOLCHAIN_EXTERNAL_LINARO_2013_07 default "arm-none-linux-gnueabi" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM201203 default "arm-none-linux-gnueabi" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM201305 default "arm-none-linux-gnueabi" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM201311 diff --git a/toolchain/toolchain-external/toolchain-external.mk b/toolchain/toolchain-external/toolchain-external.mk index 64c4d0b5b9..0e12c76f91 100644 --- a/toolchain/toolchain-external/toolchain-external.mk +++ b/toolchain/toolchain-external/toolchain-external.mk @@ -265,18 +265,18 @@ define TOOLCHAIN_EXTERNAL_FIXUP_CMDS mv $(TOOLCHAIN_EXTERNAL_INSTALL_DIR)/arago-2011.09/armv5te/* $(TOOLCHAIN_EXTERNAL_INSTALL_DIR)/ rm -rf $(TOOLCHAIN_EXTERNAL_INSTALL_DIR)/arago-2011.09/ endef -else ifeq ($(BR2_TOOLCHAIN_EXTERNAL_LINARO_2013_07),y) -TOOLCHAIN_EXTERNAL_SITE = http://releases.linaro.org/13.07/components/toolchain/binaries/ -TOOLCHAIN_EXTERNAL_SOURCE = gcc-linaro-arm-linux-gnueabihf-4.8-2013.07-1_linux.tar.xz -TOOLCHAIN_EXTERNAL_POST_INSTALL_STAGING_HOOKS += TOOLCHAIN_EXTERNAL_LINARO_ARMHF_SYMLINK -else ifeq ($(BR2_TOOLCHAIN_EXTERNAL_LINARO_2013_08),y) -TOOLCHAIN_EXTERNAL_SITE = http://releases.linaro.org/13.08/components/toolchain/binaries/ -TOOLCHAIN_EXTERNAL_SOURCE = gcc-linaro-arm-linux-gnueabihf-4.8-2013.08_linux.tar.xz -TOOLCHAIN_EXTERNAL_POST_INSTALL_STAGING_HOOKS += TOOLCHAIN_EXTERNAL_LINARO_ARMHF_SYMLINK else ifeq ($(BR2_TOOLCHAIN_EXTERNAL_LINARO_2013_09),y) TOOLCHAIN_EXTERNAL_SITE = http://releases.linaro.org/13.09/components/toolchain/binaries/ TOOLCHAIN_EXTERNAL_SOURCE = gcc-linaro-arm-linux-gnueabihf-4.8-2013.09_linux.tar.xz TOOLCHAIN_EXTERNAL_POST_INSTALL_STAGING_HOOKS += TOOLCHAIN_EXTERNAL_LINARO_ARMHF_SYMLINK +else ifeq ($(BR2_TOOLCHAIN_EXTERNAL_LINARO_2013_10),y) +TOOLCHAIN_EXTERNAL_SITE = http://releases.linaro.org/13.10/components/toolchain/binaries/ +TOOLCHAIN_EXTERNAL_SOURCE = gcc-linaro-arm-linux-gnueabihf-4.8-2013.10_linux.tar.xz +TOOLCHAIN_EXTERNAL_POST_INSTALL_STAGING_HOOKS += TOOLCHAIN_EXTERNAL_LINARO_ARMHF_SYMLINK +else ifeq ($(BR2_TOOLCHAIN_EXTERNAL_LINARO_2013_11),y) +TOOLCHAIN_EXTERNAL_SITE = http://releases.linaro.org/13.11/components/toolchain/binaries/ +TOOLCHAIN_EXTERNAL_SOURCE = gcc-linaro-arm-linux-gnueabihf-4.8-2013.11_linux.tar.xz +TOOLCHAIN_EXTERNAL_POST_INSTALL_STAGING_HOOKS += TOOLCHAIN_EXTERNAL_LINARO_ARMHF_SYMLINK else ifeq ($(BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS201209),y) TOOLCHAIN_EXTERNAL_SITE = http://sourcery.mentor.com/public/gnu_toolchain/mips-linux-gnu/ TOOLCHAIN_EXTERNAL_SOURCE = mips-2012.09-99-mips-linux-gnu-i686-pc-linux-gnu.tar.bz2