Add binutils extra configure options

Currently, we can specify extra configure options for gcc, but not
binutils.

This change adds an EXTRA_BINUTILS_CONFIG_OPTIONS config variable,
so we can add configure options for binutils.

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>

SVN-Revision: 9407
master
Felix Fietkau 17 years ago
parent 5feb978446
commit 19a6b0fa95
  1. 7
      toolchain/binutils/Config.in
  2. 1
      toolchain/binutils/Makefile

@ -14,6 +14,13 @@ choice
endchoice endchoice
config EXTRA_BINUTILS_CONFIG_OPTIONS
string
prompt "Additional binutils options" if TOOLCHAINOPTS
default ""
help
Any additional binutils options you may want to include....
config BINUTILS_VERSION config BINUTILS_VERSION
string string
prompt "Binutils Version" if (TOOLCHAINOPTS && NULL) prompt "Binutils Version" if (TOOLCHAINOPTS && NULL)

@ -33,6 +33,7 @@ define Build/Configure
--target=$(REAL_GNU_TARGET_NAME) \ --target=$(REAL_GNU_TARGET_NAME) \
--disable-werror \ --disable-werror \
--disable-nls \ --disable-nls \
$(call qstrip,$(CONFIG_EXTRA_BINUTILS_CONFIG_OPTIONS)) \
); );
endef endef

Loading…
Cancel
Save