summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2018-02-05 14:29:15 +0100
committerMichael Olbrich <m.olbrich@pengutronix.de>2018-02-05 15:05:59 +0100
commit5e43a023885c4e282130c8dd57c60d189a77563d (patch)
tree67604d21741b65c01a6d62b6803397c58bfd6c86
parent89b588c9393d6c2a385c1a837f238b6245999006 (diff)
downloadOSELAS.Toolchain-5e43a023885c4e282130c8dd57c60d189a77563d.tar.gz
cross-gcc: use tar.bz2 for linaro archives only
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rw-r--r--rules/cross-gcc.make2
1 files changed, 1 insertions, 1 deletions
diff --git a/rules/cross-gcc.make b/rules/cross-gcc.make
index a3372eb..49577a8 100644
--- a/rules/cross-gcc.make
+++ b/rules/cross-gcc.make
@@ -21,7 +21,7 @@ CROSS_GCC_VERSION := $(call remove_quotes,$(PTXCONF_CROSS_GCC_VERSION))
CROSS_GCC_DL_VERSION := $(call remove_quotes,$(PTXCONF_CROSS_GCC_DL_VERSION))
CROSS_GCC_MD5 := $(call remove_quotes,$(PTXCONF_CROSS_GCC_MD5))
CROSS_GCC := gcc-$(CROSS_GCC_DL_VERSION)
-ifeq ($(CROSS_GCC_VERSION),$(CROSS_GCC_DL_VERSION))
+ifneq ($(filter linaro%,$(CROSS_GCC_DL_VERSION)),)
CROSS_GCC_SUFFIX := tar.bz2
else
CROSS_GCC_SUFFIX := tar.xz