- allow intermodule also for 4.1

This commit is contained in:
Bernhard Reutner-Fischer 2007-02-04 15:23:26 +00:00
parent 8e44251b30
commit 57c672d433

View File

@ -60,12 +60,11 @@ EXTRA_TARGET_GCC_CONFIG_OPTIONS:=$(strip $(subst ",, $(BR2_EXTRA_TARGET_GCC_CONF
#"))
ifeq ($(BR2_PREFER_IMA),y)
# >= 4.2
ifeq ($(findstring 4.2,$(GCC_VERSION)),4.2)
# >= 4.1
ifeq ($(findstring 4.,$(GCC_VERSION)),4.)
ifneq ($(findstring 4.0,$(GCC_VERSION)),4.0)
EXTRA_TARGET_GCC_CONFIG_OPTIONS+=--enable-intermodule
endif
ifeq ($(findstring 4.3,$(GCC_VERSION)),4.3)
EXTRA_TARGET_GCC_CONFIG_OPTIONS+=--enable-intermodule
endif
endif # BR2_PREFER_IMA=y