aboutsummaryrefslogtreecommitdiffstats
path: root/toolchain/gcc/common.mk
diff options
context:
space:
mode:
authorImre Kaloz <kaloz@openwrt.org>2010-10-29 10:37:51 +0000
committerImre Kaloz <kaloz@openwrt.org>2010-10-29 10:37:51 +0000
commit57017cf64c6f1cea7622b616fc9dd237fac73e9a (patch)
tree493de6b760dce3f35b8ac2db3ec35a222a368688 /toolchain/gcc/common.mk
parent499041707156a4a9a3be9b6b43232a9365370c64 (diff)
downloadupstream-57017cf64c6f1cea7622b616fc9dd237fac73e9a.tar.gz
upstream-57017cf64c6f1cea7622b616fc9dd237fac73e9a.tar.bz2
upstream-57017cf64c6f1cea7622b616fc9dd237fac73e9a.zip
add support for Linaro GCC 2010.10
SVN-Revision: 23703
Diffstat (limited to 'toolchain/gcc/common.mk')
-rw-r--r--toolchain/gcc/common.mk10
1 files changed, 10 insertions, 0 deletions
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
@@ -36,6 +36,15 @@ ifdef CONFIG_GCC_VERSION_LLVM
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)