default to gcc 3.4.4 for brcm-2.4 because of weird kernel problems
[openwrt/svn-archive/archive.git] / openwrt / toolchain / gcc / Config.in
index 07a244698d7ba69fb34c9074b15e6e045b8f5875..ed39142b447b327359370740f1f12356b4a8fda0 100644 (file)
@@ -10,11 +10,13 @@ endif
 config BR2_GCC_3_4
        bool
        default n
-       depends BR2_GCC_VERSION_3_4_4 || BR2_GCC_VERSION_4_0_0 || BR2_GCC_VERSION_4_0_1
+       depends BR2_GCC_VERSION_3_4_4 || BR2_GCC_VERSION_3_4_5 || BR2_GCC_VERSION_4_0_2
 
 choice
        prompt "GCC compiler Version" if CONFIG_DEVEL
-       default BR2_GCC_VERSION_3_4_4
+       default BR2_GCC_VERSION_4_0_2 if BR2_LINUX_2_6_ARUBA
+       default BR2_GCC_VERSION_3_4_4 if BR2_LINUX_2_4_BRCM
+       default BR2_GCC_VERSION_3_4_5
        help
          Select the version of gcc you wish to use.
 
@@ -22,21 +24,22 @@ choice
                bool "gcc 3.4.4"
                select BR2_GCC_3_4
 
-       config BR2_GCC_VERSION_4_0_0
-               bool "gcc 4.0.0"
+       config BR2_GCC_VERSION_3_4_5
+               bool "gcc 3.4.5"
                select BR2_GCC_3_4
 
-       config BR2_GCC_VERSION_4_0_1
-               bool "gcc 4.0.1"
+       config BR2_GCC_VERSION_4_0_2
+               bool "gcc 4.0.2"
                select BR2_GCC_3_4
+               select BR2_PACKAGE_LIBGCC
 
 endchoice
 
 config BR2_GCC_VERSION
        string
-       default "3.4.4"     if BR2_GCC_VERSION_3_4_4 || !CONFIG_DEVEL
-       default "4.0.0"     if BR2_GCC_VERSION_4_0_0
-       default "4.0.1"     if BR2_GCC_VERSION_4_0_1
+       default "3.4.4"     if BR2_GCC_VERSION_3_4_4
+       default "3.4.5"     if BR2_GCC_VERSION_3_4_5 || !CONFIG_DEVEL
+       default "4.0.2"     if BR2_GCC_VERSION_4_0_2
 
 
 config BR2_GCC_USE_SJLJ_EXCEPTIONS