diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2007-08-26 21:00:56 +0000 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2007-08-26 21:00:56 +0000 |
commit | bc970eced7233bd9356683df4e64e901707e2ae2 (patch) | |
tree | 15f391518176135b08cef6aa10728f2df65bcb73 | |
parent | 86c31b90a20030e21d358c115ce8de11ef7383f1 (diff) |
- make sure to honour user flags
-rw-r--r-- | toolchain/gcc/Makefile.in | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/toolchain/gcc/Makefile.in b/toolchain/gcc/Makefile.in index 2ff11624e..99b7d4725 100644 --- a/toolchain/gcc/Makefile.in +++ b/toolchain/gcc/Makefile.in @@ -74,8 +74,16 @@ TARGET_GCC_FLAGS= CFLAGS_FOR_TARGET="$(TARGET_CFLAGS) $(TARGET_SOFT_FLOAT)" \ BOOT_CFLAGS="$(TARGET_CFLAGS) $(TARGET_SOFT_FLOAT)" ifeq ($(strip $(BR2_PACKAGE_GCC_TARGET)),y) -# pull in config opts from the user -EXTRA_TARGET_GCC_CONFIG_OPTIONS:=$(strip $(subst ",, $(BR2_EXTRA_TARGET_GCC_CONFIG_OPTIONS))) +EXTRA_TARGET_GCC_CONFIG_OPTIONS:= + +# AVR32 target GCC configuration +ifeq ($(strip $(BR2_avr32)),y) +EXTRA_TARGET_GCC_CONFIG_OPTIONS+=--disable-libmudflap +endif + + +# and finally pull in config opts from the user +EXTRA_TARGET_GCC_CONFIG_OPTIONS+=$(strip $(subst ",, $(BR2_EXTRA_TARGET_GCC_CONFIG_OPTIONS))) #")) ifeq ($(BR2_PREFER_IMA),y) @@ -85,10 +93,5 @@ EXTRA_TARGET_GCC_CONFIG_OPTIONS+=--enable-intermodule endif endif # BR2_PREFER_IMA=y -# AVR32 target GCC configuration -ifeq ($(strip $(BR2_avr32)),y) -EXTRA_TARGET_GCC_CONFIG_OPTIONS+=--disable-libmudflap -endif - TARGETS+=gcc_target endif |