From 57017cf64c6f1cea7622b616fc9dd237fac73e9a Mon Sep 17 00:00:00 2001 From: Imre Kaloz Date: Fri, 29 Oct 2010 10:37:51 +0000 Subject: add support for Linaro GCC 2010.10 SVN-Revision: 23703 --- toolchain/gcc/common.mk | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'toolchain/gcc/common.mk') diff --git a/toolchain/gcc/common.mk b/toolchain/gcc/common.mk index de675bd5b8..f2d050e103 100644 --- a/toolchain/gcc/common.mk +++ b/toolchain/gcc/common.mk @@ -35,6 +35,15 @@ ifdef CONFIG_GCC_VERSION_LLVM PKG_SOURCE_URL:=git://repo.or.cz/llvm-gcc-4.2.git PKG_SOURCE_SUBDIR:=$(GCC_DIR) HOST_BUILD_DIR:=$(BUILD_DIR_TOOLCHAIN)/$(GCC_DIR) +else +ifdef CONFIG_GCC_VERSION_4_5_1_LINARO + PKG_REV:=4.5-2010.10-0 + PKG_VERSION:=4.5.2 + PKG_SOURCE_URL:=http://launchpad.net/gcc-linaro/4.5/4.5-2010.10-0/+download/ + PKG_SOURCE:=$(PKG_NAME)-linaro-$(PKG_REV).tar.bz2 + PKG_MD5SUM:=39bb0627bb937af78c983e7066ca7f75 + GCC_DIR:=gcc-linaro-$(PKG_REV) + HOST_BUILD_DIR:=$(BUILD_DIR_TOOLCHAIN)/$(GCC_DIR) else PKG_SOURCE_URL:=@GNU/gcc/gcc-$(PKG_VERSION) PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 @@ -76,6 +85,7 @@ else PKG_MD5SUM:=48231a8e33ed6e058a341c53b819de1a endif endif +endif PATCH_DIR=../patches/$(GCC_VERSION) -- cgit v1.2.3