[Cbe-oss-dev] [PATCH 3/9] Add binutils extra configure options
Jeremy Kerr
jk at ozlabs.org
Tue Oct 23 10:54:54 EST 2007
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 at ozlabs.org>
---
toolchain/binutils/Config.in | 7 +++++++
toolchain/binutils/Makefile | 1 +
2 files changed, 8 insertions(+)
Index: kamikaze/toolchain/binutils/Config.in
===================================================================
--- kamikaze.orig/toolchain/binutils/Config.in
+++ kamikaze/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)
Index: kamikaze/toolchain/binutils/Makefile
===================================================================
--- kamikaze.orig/toolchain/binutils/Makefile
+++ kamikaze/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
More information about the cbe-oss-dev
mailing list