From: Felix Fietkau Date: Tue, 23 Oct 2007 06:23:20 +0000 (+0000) Subject: Add binutils extra configure options X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=19a6b0fa95f3b38e9019d2151ad77e6affb07947;p=openwrt%2Fstaging%2Fldir.git 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 SVN-Revision: 9407 --- diff --git a/toolchain/binutils/Config.in b/toolchain/binutils/Config.in index ce3fa99622..598029f1df 100644 --- a/toolchain/binutils/Config.in +++ b/toolchain/binutils/Config.in @@ -14,6 +14,13 @@ choice 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 string prompt "Binutils Version" if (TOOLCHAINOPTS && NULL) diff --git a/toolchain/binutils/Makefile b/toolchain/binutils/Makefile index b3a68893b5..2ca79d3eaf 100644 --- a/toolchain/binutils/Makefile +++ b/toolchain/binutils/Makefile @@ -33,6 +33,7 @@ define Build/Configure --target=$(REAL_GNU_TARGET_NAME) \ --disable-werror \ --disable-nls \ + $(call qstrip,$(CONFIG_EXTRA_BINUTILS_CONFIG_OPTIONS)) \ ); endef