toolchain/gcc: fix up breakage introduced in r37945
authorFelix Fietkau <nbd@openwrt.org>
Wed, 11 Sep 2013 14:28:21 +0000 (14:28 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Wed, 11 Sep 2013 14:28:21 +0000 (14:28 +0000)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 37946

toolchain/gcc/common.mk

index b0470786eb7910e0901d637cfacbff2542236423..60b53b7ffa0bd44a195dfab60db216560d959915 100644 (file)
@@ -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