Fix gcc version selection - default version for linux 2.4 broken in r6208 - brcm...
authorFelix Fietkau <nbd@openwrt.org>
Fri, 26 Jan 2007 11:02:59 +0000 (11:02 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Fri, 26 Jan 2007 11:02:59 +0000 (11:02 +0000)
SVN-Revision: 6209

toolchain/gcc/Config.in
toolchain/gcc/Config.version

index e5ee5bd5749c305fd1235583be6009afbf056bad..5ea51a8ad00e357c5b8ae5d9c1c29c7811615788 100644 (file)
@@ -2,8 +2,8 @@
 
 choice
        prompt "GCC compiler Version" if TOOLCHAINOPTS
-       default GCC_VERSION_4_1_1
        default GCC_VERSION_3_4_6 if LINUX_2_4
+       default GCC_VERSION_4_1_1
        help
          Select the version of gcc you wish to use.
 
index 495c883c7f4a4ecc57f634f7b71e2de32355a175..3ff5bbf307f34589ac7f0380391825416343fe7f 100644 (file)
@@ -12,11 +12,9 @@ config GCC_VERSION
        default "4.1.1"
 
 if !TOOLCHAINOPTS
-       config GCC_VERSION_4_2
-               default n
-
        config GCC_VERSION_3_4_6
                default y if LINUX_2_4
+               default y if LINUX_2_6_BRCM
 endif