aboutsummaryrefslogtreecommitdiff
path: root/package/binutils
diff options
context:
space:
mode:
authorGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-03-15 16:56:00 +0100
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-03-15 16:58:17 +0100
commit43e9d51d61c493bf1fcfe30541171b373f1658ce (patch)
tree440b7f70e554cca24f326e6ab82f4df639a72cd9 /package/binutils
parent23ecfd04e6987879b5b4fce8f89b1e6501d011f8 (diff)
downloadbuildroot-43e9d51d61c493bf1fcfe30541171b373f1658ce.tar.gz
buildroot-43e9d51d61c493bf1fcfe30541171b373f1658ce.tar.bz2
binutils: fix target binutils on ARC
When an external toolchain is used on ARC, BR2_BINUTILS_VERSION is undefined, so we use binutils 2.22, which doesn't support ARC and anyway isn't available from the ARC download location. So, let's defined a default ARC binutils version in binutils.mk. Fixes: http://autobuild.buildroot.org/results/52a/52abadacd7aab2d5c11d094937f28198bf220662/ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/binutils')
-rw-r--r--package/binutils/binutils.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/binutils/binutils.mk b/package/binutils/binutils.mk
index ac62f1f0d2..4111583462 100644
--- a/package/binutils/binutils.mk
+++ b/package/binutils/binutils.mk
@@ -8,8 +8,12 @@
# If not, we do like other packages
BINUTILS_VERSION = $(call qstrip,$(BR2_BINUTILS_VERSION))
ifeq ($(BINUTILS_VERSION),)
+ifeq ($(BR2_arc),y)
+BINUTILS_VERSION = arc-2014.12
+else
BINUTILS_VERSION = 2.22
endif
+endif # BINUTILS_VERSION
ifeq ($(BR2_arc),y)
BINUTILS_SITE = $(call github,foss-for-synopsys-dwc-arc-processors,binutils-gdb,$(BINUTILS_VERSION))