From 5e43a023885c4e282130c8dd57c60d189a77563d Mon Sep 17 00:00:00 2001 From: Michael Olbrich Date: Mon, 5 Feb 2018 14:29:15 +0100 Subject: cross-gcc: use tar.bz2 for linaro archives only Signed-off-by: Michael Olbrich --- rules/cross-gcc.make | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3