summaryrefslogtreecommitdiffstats
path: root/toolchain
diff options
context:
space:
mode:
Diffstat (limited to 'toolchain')
-rw-r--r--toolchain/binutils/Config.in7
-rw-r--r--toolchain/binutils/Makefile1
2 files changed, 8 insertions, 0 deletions
diff --git a/toolchain/binutils/Config.in b/toolchain/binutils/Config.in
index ce3fa9962..598029f1d 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 b3a68893b..2ca79d3ea 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