From c65601de77314c012638d6afaa65ecf30f9945de Mon Sep 17 00:00:00 2001 From: Michael Olbrich Date: Thu, 7 May 2020 18:28:06 +0200 Subject: cross-gcc: drop special suffix handling There have been no special linaro gcc releases for some time so this is no longer needed. Also, cross-gcc-first had a different condition, which is broken because the two packages share the URLs. Also drop the old URLs that are no longer needed. Signed-off-by: Michael Olbrich --- rules/cross-gcc-first.make | 4 ---- rules/cross-gcc.make | 9 +-------- 2 files changed, 1 insertion(+), 12 deletions(-) diff --git a/rules/cross-gcc-first.make b/rules/cross-gcc-first.make index 626427a..3c3ee53 100644 --- a/rules/cross-gcc-first.make +++ b/rules/cross-gcc-first.make @@ -18,11 +18,7 @@ CROSS_GCC_FIRST_VERSION := $(call remove_quotes,$(PTXCONF_CROSS_GCC_VERSION)) CROSS_GCC_FIRST_DL_VERSION := $(call remove_quotes,$(PTXCONF_CROSS_GCC_DL_VERSION)) CROSS_GCC_FIRST_MD5 := $(call remove_quotes,$(PTXCONF_CROSS_GCC_MD5)) CROSS_GCC_FIRST := gcc-$(CROSS_GCC_FIRST_DL_VERSION) -ifeq ($(CROSS_GCC_FIRST_VERSION),$(CROSS_GCC_FIRST_DL_VERSION)) -CROSS_GCC_FIRST_SUFFIX := tar.bz2 -else CROSS_GCC_FIRST_SUFFIX := tar.xz -endif CROSS_GCC_FIRST_SOURCE := $(SRCDIR)/$(CROSS_GCC_FIRST).$(CROSS_GCC_FIRST_SUFFIX) CROSS_GCC_FIRST_DIR := $(CROSS_BUILDDIR)/gcc-first-$(CROSS_GCC_FIRST_VERSION) CROSS_GCC_FIRST_BUILDDIR := $(CROSS_GCC_FIRST_DIR)-build diff --git a/rules/cross-gcc.make b/rules/cross-gcc.make index 3ba19a7..b37a912 100644 --- a/rules/cross-gcc.make +++ b/rules/cross-gcc.make @@ -19,11 +19,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) -ifneq ($(filter linaro%,$(CROSS_GCC_DL_VERSION)),) -CROSS_GCC_SUFFIX := tar.bz2 -else CROSS_GCC_SUFFIX := tar.xz -endif CROSS_GCC_SOURCE := $(SRCDIR)/$(CROSS_GCC).$(CROSS_GCC_SUFFIX) CROSS_GCC_DIR := $(BUILDDIR_CROSS_DEBUG)/$(CROSS_GCC) CROSS_GCC_BUILDDIR := $(CROSS_BUILDDIR)/$(CROSS_GCC)-build @@ -34,10 +30,7 @@ CROSS_GCC_LICENSE_FILES := $(call remove_quotes,$(PTXCONF_CROSS_GCC_LICENSE_FILE CROSS_GCC_URL := \ $(call ptx/mirror, GNU, gcc/$(CROSS_GCC)/$(CROSS_GCC).$(CROSS_GCC_SUFFIX)) \ https://sourceware.org/pub/gcc/snapshots/$(CROSS_GCC_DL_VERSION)/$(CROSS_GCC).$(CROSS_GCC_SUFFIX) \ - https://sourceware.org/pub/gcc/releases/$(CROSS_GCC)/$(CROSS_GCC).$(CROSS_GCC_SUFFIX) \ - http://launchpad.net/gcc-linaro/4.8/$(subst linaro-,,$(CROSS_GCC_DL_VERSION))/+download/gcc-$(CROSS_GCC_DL_VERSION).$(CROSS_GCC_SUFFIX) \ - http://launchpad.net/gcc-linaro/4.7/$(subst linaro-,,$(CROSS_GCC_DL_VERSION))/+download/gcc-$(CROSS_GCC_DL_VERSION).$(CROSS_GCC_SUFFIX) \ - http://launchpad.net/gcc-linaro/4.6/$(subst linaro-,,$(CROSS_GCC_DL_VERSION))/+download/gcc-$(CROSS_GCC_DL_VERSION).$(CROSS_GCC_SUFFIX) + https://sourceware.org/pub/gcc/releases/$(CROSS_GCC)/$(CROSS_GCC).$(CROSS_GCC_SUFFIX) ptx/abs2rel := $(PTXDIST_WORKSPACE)/scripts/ptxd_abs2rel.sh -- cgit v1.2.3