Simplify AVR32 gcc build (libmudflap, doesn't work, so applied even though objections)

This commit is contained in:
Ulf Samuelsson 2007-08-01 08:58:14 +00:00
parent 419cdf292e
commit 7f21ead887
3 changed files with 3 additions and 23 deletions

View File

@ -140,16 +140,6 @@ config BR2_GCC_USE_SJLJ_EXCEPTIONS
proper stack unwinding during exception handling. Most people
can leave this set to n.
config BR2_GCC_AVR32_CONFIGURATION
bool "Enable default AVR32 GCC configuration"
default y
depends BR2_avr32
help
For the AVR32 platform there is some configuration which are not
supported.
Currently this will add "--disable-libmudflap" to configure.
config BR2_EXTRA_GCC_CONFIG_OPTIONS
string "Additional gcc options"
default ""

View File

@ -2,19 +2,9 @@ config BR2_PACKAGE_GCC_TARGET
bool "native toolchain in the target filesystem"
default n
help
If you want the target system to be able to run
If you want the target system to be able to run
binutils/gcc and compile native code, say Y here.
config BR2_GCC_TARGET_AVR32_CONFIGURATION
bool "Enable default AVR32 GCC configuration"
default y
depends BR2_avr32 && BR2_PACKAGE_GCC_TARGET
help
For the AVR32 platform there is some configuration which are not
supported.
Currently this will add "--disable-libmudflap" to configure.
config BR2_EXTRA_TARGET_GCC_CONFIG_OPTIONS
string "Additional target gcc options"
default ""

View File

@ -12,7 +12,7 @@ EXTRA_GCC_CONFIG_OPTIONS:=$(strip $(subst ",, $(BR2_EXTRA_GCC_CONFIG_OPTIONS)))
#"))
# AVR32 GCC configuration
ifeq ($(strip $(BR2_GCC_AVR32_CONFIGURATION)),y)
ifeq ($(strip $(BR2_avr32)),y)
EXTRA_GCC_CONFIG_OPTIONS+=--disable-libmudflap
endif
@ -86,7 +86,7 @@ endif
endif # BR2_PREFER_IMA=y
# AVR32 target GCC configuration
ifeq ($(strip $(BR2_GCC_TARGET_AVR32_CONFIGURATION)),y)
ifeq ($(strip $(BR2_avr32)),y)
EXTRA_TARGET_GCC_CONFIG_OPTIONS+=--disable-libmudflap
endif