fix gcc version selection
[openwrt/openwrt.git] / toolchain / gcc / Config.version
index b04269c527795ea91a9e2b3bdf3e2d1b44181f4f..1b817237b575e8aa1eec63748d2d580a27e8cf31 100644 (file)
@@ -7,13 +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_IXP4XX || LINUX_2_6_RB532
+       config GCC_VERSION_3_4_6
+               default y if LINUX_2_4
+               default y if LINUX_2_6_BRCM
 endif