mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-24 01:43:08 +02:00
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
This commit is contained in:
parent
ebe4d35428
commit
d274551d10
@ -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)
|
||||
|
@ -33,6 +33,7 @@ define Build/Configure
|
||||
--target=$(REAL_GNU_TARGET_NAME) \
|
||||
--disable-werror \
|
||||
--disable-nls \
|
||||
$(call qstrip,$(CONFIG_EXTRA_BINUTILS_CONFIG_OPTIONS)) \
|
||||
);
|
||||
endef
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user