From d81457eaed604b21dcfb85d167683f69cfb47c53 Mon Sep 17 00:00:00 2001 From: Mischa Jonker Date: Thu, 2 May 2013 09:51:25 +0000 Subject: arc: Add support for ARC-specific binutils ARC support is not upstream yet. Signed-off-by: Mischa Jonker Signed-off-by: Peter Korsgaard --- package/binutils/binutils.mk | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'package/binutils/binutils.mk') diff --git a/package/binutils/binutils.mk b/package/binutils/binutils.mk index 92e0a7483..081be6ad4 100644 --- a/package/binutils/binutils.mk +++ b/package/binutils/binutils.mk @@ -26,6 +26,9 @@ 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) +endif BINUTILS_EXTRA_CONFIG_OPTIONS = $(call qstrip,$(BR2_BINUTILS_EXTRA_CONFIG_OPTIONS)) BINUTILS_INSTALL_STAGING = YES BINUTILS_DEPENDENCIES = $(if $(BR2_NEEDS_GETTEXT_IF_LOCALE),gettext) @@ -52,7 +55,11 @@ HOST_BINUTILS_CONF_OPT = --disable-multilib --disable-werror \ --with-sysroot=$(STAGING_DIR) \ $(BINUTILS_EXTRA_CONFIG_OPTIONS) +ifeq ($(BINUTILS_VERSION),2.19-arc) +HOST_BINUTILS_DEPENDENCIES = host-flex host-bison +else HOST_BINUTILS_DEPENDENCIES = +endif # We just want libbfd and libiberty, not the full-blown binutils in staging define BINUTILS_INSTALL_STAGING_CMDS -- cgit v1.2.3