Commit 43e9d51d authored by Thomas Petazzoni's avatar Thomas Petazzoni
Browse files

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: default avatarThomas Petazzoni <thomas.petazzoni@free-electrons.com>
parent 23ecfd04
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -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))