svn commit: trunk/buildroot/toolchain/gcc
Author: aldot
Date: 2007-08-26 14:00:56 -0700 (Sun, 26 Aug 2007) New Revision: 19704
Log:
- make sure to honour user flags
Modified:
trunk/buildroot/toolchain/gcc/Makefile.in
Changeset:
Modified: trunk/buildroot/toolchain/gcc/Makefile.in
===================================================================
buildroot/toolchain/gcc/Makefile.in +10 -7
@@ -74,8 +74,16 @@ 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 @@ 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