summaryrefslogtreecommitdiffstats
path: root/package/binutils/binutils.mk
diff options
context:
space:
mode:
authorMischa Jonker <mischa.jonker@synopsys.com>2013-12-05 18:20:48 +0100
committerPeter Korsgaard <peter@korsgaard.com>2013-12-06 22:40:12 +0100
commit674930bed44a7746d1dd58fef32b28bea263cf73 (patch)
tree6684daef67378341d132ea2d90e64538240b92d8 /package/binutils/binutils.mk
parent44eca6a7c86f71f5f05e2b28f7a4b68203d351d3 (diff)
downloadbuildroot-674930bed44a7746d1dd58fef32b28bea263cf73.tar.gz
buildroot-674930bed44a7746d1dd58fef32b28bea263cf73.zip
binutils: arc: Use git instead of website
Signed-off-by: Mischa Jonker <mjonker@synopsys.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/binutils/binutils.mk')
-rw-r--r--package/binutils/binutils.mk8
1 files changed, 4 insertions, 4 deletions
diff --git a/package/binutils/binutils.mk b/package/binutils/binutils.mk
index b3ccee2bcb..3c14849279 100644
--- a/package/binutils/binutils.mk
+++ b/package/binutils/binutils.mk
@@ -18,17 +18,17 @@ endif
ifeq ($(BINUTILS_VERSION),2.23)
BINUTILS_SOURCE = binutils-$(BINUTILS_VERSION).tar.gz
-else
-BINUTILS_SOURCE = binutils-$(BINUTILS_VERSION).tar.bz2
endif
-BINUTILS_SITE = $(BR2_GNU_MIRROR)/binutils
ifeq ($(ARCH),avr32)
BINUTILS_SITE = ftp://www.at91.com/pub/buildroot
endif
ifeq ($(BR2_arc),y)
-BINUTILS_SITE = $(BR2_ARC_SITE)
+BINUTILS_SITE = $(call github,foss-for-synopsys-dwc-arc-processors,binutils,$(BINUTILS_VERSION))
+BINUTILS_SOURCE = binutils-$(BINUTILS_VERSION).tar.gz
endif
+BINUTILS_SITE ?= $(BR2_GNU_MIRROR)/binutils
+BINUTILS_SOURCE ?= binutils-$(BINUTILS_VERSION).tar.bz2
BINUTILS_EXTRA_CONFIG_OPTIONS = $(call qstrip,$(BR2_BINUTILS_EXTRA_CONFIG_OPTIONS))
BINUTILS_INSTALL_STAGING = YES
BINUTILS_DEPENDENCIES = $(if $(BR2_NEEDS_GETTEXT_IF_LOCALE),gettext)
OpenPOWER on IntegriCloud