Quellcode durchsuchen

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

Ulf Samuelsson vor 18 Jahren
Ursprung
Commit
7f21ead887
3 geänderte Dateien mit 3 neuen und 23 gelöschten Zeilen
  1. 0 10
      toolchain/gcc/Config.in
  2. 1 11
      toolchain/gcc/Config.in.2
  3. 2 2
      toolchain/gcc/Makefile.in

+ 0 - 10
toolchain/gcc/Config.in

@@ -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 ""

+ 1 - 11
toolchain/gcc/Config.in.2

@@ -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 ""

+ 2 - 2
toolchain/gcc/Makefile.in

@@ -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