summaryrefslogtreecommitdiff
path: root/toolchain/gcc
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
commit75946ee46885243274ecf752931ba080836a91e1 (patch)
tree60d2d447a3f7f24f8901f7909213084dce9f9b2c /toolchain/gcc
parent6d13c47f575793ffdab6a1e0c9ca8b3319f0cda9 (diff)
downloadmtk-20170518-75946ee46885243274ecf752931ba080836a91e1.zip
mtk-20170518-75946ee46885243274ecf752931ba080836a91e1.tar.gz
mtk-20170518-75946ee46885243274ecf752931ba080836a91e1.tar.bz2
toolchain/gcc: fix up breakage introduced in r37945
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 37946
Diffstat (limited to 'toolchain/gcc')
-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 b047078..60b53b7 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