default "2.16.91.0.4" if BR2_BINUTILS_VERSION_2_16_91_0_4
default "2.16.91.0.5" if BR2_BINUTILS_VERSION_2_16_91_0_5
default "2.16.91.0.6" if BR2_BINUTILS_VERSION_2_16_91_0_6
+
+
+config BR2_EXTRA_BINUTILS_CONFIG_OPTIONS
+ string "Additional binutils options"
+ default ""
+ help
+ Any additional binutils options you may want to include..
+
+
#############################################################
BINUTILS_VERSION:=$(strip $(subst ",, $(BR2_BINUTILS_VERSION)))
+EXTRA_BINUTILS_CONFIG_OPTIONS:=$(strip $(subst ",, $(BR2_EXTRA_BINUTILS_CONFIG_OPTIONS)))
+#"
BINUTILS_SITE:=http://ftp.kernel.org/pub/linux/devel/binutils
ifeq ($(BINUTILS_VERSION),2.16)
BINUTILS_SITE:=http://ftp.gnu.org/gnu/binutils/
$(BINUTILS_DIR1)/.configured: $(BINUTILS_DIR)/.patched
mkdir -p $(BINUTILS_DIR1)
(cd $(BINUTILS_DIR1); \
+ CC="$(HOSTCC)" \
$(BINUTILS_DIR)/configure \
--prefix=$(STAGING_DIR) \
--build=$(GNU_HOST_NAME) \
$(DISABLE_NLS) \
$(MULTILIB) \
--disable-werror \
- $(SOFT_FLOAT_CONFIG_OPTION) );
+ $(SOFT_FLOAT_CONFIG_OPTION) \
+ $(EXTRA_BINUTILS_CONFIG_OPTIONS));
touch $(BINUTILS_DIR1)/.configured
$(BINUTILS_DIR1)/binutils/objdump: $(BINUTILS_DIR1)/.configured