gcc: enable --with-headers for the final toolchain build
[openwrt/openwrt.git] / toolchain / gcc / Config.version
index aee7748f240f8aad36cd11d7b528966f5f9bf639..e565bc571c04d95145a600c8c13d1eccebfb30a8 100644 (file)
@@ -6,7 +6,7 @@ config GCC_DEFAULT_VERSION_4_4_6
        default y if (avr32 || ubicom32)
        bool
 
-config GCC_DEFAULT_VERSION_4_5_LINARO
+config GCC_DEFAULT_VERSION_4_6_LINARO
        default y if !(GCC_DEFAULT_VERSION)
        bool
 
@@ -14,10 +14,11 @@ config GCC_DEFAULT_VERSION_4_5_LINARO
 config GCC_VERSION
        string
        default "4.4.6"     if GCC_VERSION_4_4_6
-       default "4.6.1"     if GCC_VERSION_4_6_1
+       default "4.6.2"     if GCC_VERSION_4_6_2
        default "4.5-linaro"    if GCC_VERSION_4_5_LINARO
+       default "4.6-linaro"    if GCC_VERSION_4_6_LINARO
        default "llvm"      if GCC_VERSION_LLVM
-       default "4.5-linaro"
+       default "4.6-linaro"
 
 config GCC_VERSION_4_4
        bool
@@ -29,7 +30,7 @@ config GCC_VERSION_4_5
 
 config GCC_VERSION_4_6
        bool
-       default y       if GCC_VERSION_4_6_1
+       default y       if (GCC_VERSION_4_6_2 || GCC_VERSION_4_6_LINARO)
 
 if !TOOLCHAINOPTS
 
@@ -37,8 +38,8 @@ if !TOOLCHAINOPTS
                default y if GCC_DEFAULT_VERSION_4_4_6
                bool
 
-       config GCC_VERSION_4_5_LINARO
-               default y if GCC_DEFAULT_VERSION_4_5_LINARO
+       config GCC_VERSION_4_6_LINARO
+               default y if GCC_DEFAULT_VERSION_4_6_LINARO
                bool
 
 endif