aboutsummaryrefslogtreecommitdiffstats
path: root/toolchain
diff options
context:
space:
mode:
Diffstat (limited to 'toolchain')
-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