fix gcc version selection
[openwrt/svn-archive/archive.git] / toolchain / gcc / Config.version
index af5e10280775ab493e0cd458464a469aaff6c519..1b817237b575e8aa1eec63748d2d580a27e8cf31 100644 (file)
@@ -7,14 +7,15 @@ config GCC_VERSION
        default "4.0.3"     if GCC_VERSION_4_0_3
        default "4.1.0"     if GCC_VERSION_4_1_0
        default "4.1.1"     if GCC_VERSION_4_1_1
+       default "4.1.2"     if GCC_VERSION_4_1_2
+       default "4.2"           if GCC_VERSION_4_2
        default "3.4.6-nonmips"     if GCC_VERSION_3_4_6_nonmips
-       default "3.4.6"
+       default "4.1.2"
 
 if !TOOLCHAINOPTS
-       config GCC_VERSION_4_1_1
-               default y if LINUX_2_6_ARUBA || LINUX_2_6_X86 || LINUX_2_6_RB532
-       config GCC_VERSION_4_0_3
-               default y if LINUX_2_6_XSCALE
+       config GCC_VERSION_3_4_6
+               default y if LINUX_2_4
+               default y if LINUX_2_6_BRCM
 endif