diff options
author | Felix Fietkau <nbd@openwrt.org> | 2007-10-23 06:23:20 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2007-10-23 06:23:20 +0000 |
commit | 3a5ab101f0a195dee3e614a516c16f585cfd403d (patch) | |
tree | e783df0579be0757cf1046b33975162adaaa91d4 /toolchain | |
parent | 4e577f8c711f591adc604d57af6a61ddb71a4ed4 (diff) | |
download | master-187ad058-3a5ab101f0a195dee3e614a516c16f585cfd403d.tar.gz master-187ad058-3a5ab101f0a195dee3e614a516c16f585cfd403d.tar.bz2 master-187ad058-3a5ab101f0a195dee3e614a516c16f585cfd403d.zip |
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9407 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'toolchain')
-rw-r--r-- | toolchain/binutils/Config.in | 7 | ||||
-rw-r--r-- | toolchain/binutils/Makefile | 1 |
2 files changed, 8 insertions, 0 deletions
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 |