gcc: fix version selection for Magicbox
[oweals/openwrt.git] / toolchain / gcc / Config.version
index a5cbe90b811414359ee847085f957dd1018adece..204fc273e7b5e53b9b7bc6594ac8b074444b8ac0 100644 (file)
@@ -4,6 +4,7 @@ config GCC_VERSION
        default "4.1.2"     if GCC_VERSION_4_1_2
        default "4.2.0"     if GCC_VERSION_4_2_0
        default "4.2.1"     if GCC_VERSION_4_2_1
+       default "4.2.2"     if GCC_VERSION_4_2_2
        default "4.1.2"
 
 if !TOOLCHAINOPTS
@@ -11,7 +12,7 @@ if !TOOLCHAINOPTS
                default y if LINUX_2_4
 
        config GCC_VERSION_4_2_0
-               default y if LINUX_2_6_MAGICBOX
+               default y if TARGET_magicbox
 endif