gcc: on avr32, only allow avr32 gcc versions
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Mon, 14 Dec 2009 10:57:14 +0000 (11:57 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Mon, 14 Dec 2009 22:54:43 +0000 (23:54 +0100)
Remove references to BR2_EXT_GCC_VERSION_* configuration options, and
only allows special avr32 gcc versions on the AVR32 architecture.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
toolchain/gcc/Config.in

index 3d3da46ecdb98a43bdcd16088351584518e81a1d..07e42a6da630d09819a41ca8b59af6c1e4043e9b 100644 (file)
@@ -10,20 +10,18 @@ choice
          Select the version of gcc you wish to use.
 
        config BR2_GCC_VERSION_4_1_2
-               depends on !BR2_nios2
-               depends on BR2_EXT_GCC_VERSION_4_1_2
+               depends on !BR2_nios2 && !BR2_avr32
                depends on BR2_DEPRECATED
                bool "gcc 4.1.2"
 
        config BR2_GCC_VERSION_4_2_1
-               depends on !BR2_nios2
-               depends on BR2_EXT_GCC_VERSION_4_2_1
+               depends on !BR2_nios2 && !BR2_avr32
                depends on BR2_DEPRECATED
                bool "gcc 4.2.1"
 
        config BR2_GCC_VERSION_4_2_2
-               depends on BR2_EXT_GCC_VERSION_4_2_2
-               depends on BR2_DEPRECATED || BR2_avr32
+               depends on !BR2_avr32
+               depends on BR2_DEPRECATED
                bool "gcc 4.2.2"
 
        config BR2_GCC_VERSION_4_2_2_AVR32_2_1_5
@@ -31,9 +29,8 @@ choice
               bool "gcc 4.2.2-avr32-2.1.5"
 
        config BR2_GCC_VERSION_4_2_3
-               depends on !BR2_nios2
-               depends on BR2_EXT_GCC_VERSION_4_2_3
-               depends on BR2_DEPRECATED || BR2_avr32
+               depends on !BR2_nios2 && !BR2_avr32
+               depends on BR2_DEPRECATED
                bool "gcc 4.2.3"
 
        config BR2_GCC_VERSION_4_2_4