aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2013-09-11 14:28:21 +0000
committerFelix Fietkau <nbd@openwrt.org>2013-09-11 14:28:21 +0000
commit0426c12de3aa806e4c45a0a22aae8c7ed8c972ce (patch)
tree7f61135465df6a7c7473c8cfa65992062157509f
parentc09b8f8e7902de4df87e87538f7cd41134bec4f6 (diff)
downloadmaster-187ad058-0426c12de3aa806e4c45a0a22aae8c7ed8c972ce.tar.gz
master-187ad058-0426c12de3aa806e4c45a0a22aae8c7ed8c972ce.tar.bz2
master-187ad058-0426c12de3aa806e4c45a0a22aae8c7ed8c972ce.zip
toolchain/gcc: fix up breakage introduced in r37945
Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37946 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--toolchain/gcc/common.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/toolchain/gcc/common.mk b/toolchain/gcc/common.mk
index b0470786eb..60b53b7ffa 100644
--- a/toolchain/gcc/common.mk
+++ b/toolchain/gcc/common.mk
@@ -31,15 +31,17 @@ ifeq ($(findstring linaro, $(CONFIG_GCC_VERSION)),linaro)
PKG_VERSION:=4.6.4
PKG_VERSION_MAJOR:=4.6
PKG_MD5SUM:=6b6c6a4faa026edd1193cf6426309039
+ PKG_COMP:=bz2
endif
ifeq ($(CONFIG_GCC_VERSION),"4.8-linaro")
PKG_REV:=4.8-2013.08
PKG_VERSION:=4.8.2
PKG_VERSION_MAJOR:=4.8
PKG_MD5SUM:=668e0f4250e35aff554b66accc9a3105
+ PKG_COMP:=xz
endif
PKG_SOURCE_URL:=http://launchpad.net/gcc-linaro/$(PKG_VERSION_MAJOR)/$(PKG_REV)/+download/
- PKG_SOURCE:=$(PKG_NAME)-linaro-$(PKG_REV).tar.xz
+ PKG_SOURCE:=$(PKG_NAME)-linaro-$(PKG_REV).tar.$(PKG_COMP)
GCC_DIR:=gcc-linaro-$(PKG_REV)
HOST_BUILD_DIR:=$(BUILD_DIR_TOOLCHAIN)/$(GCC_DIR)
else