toolchain: gcc: switch default to 13
[openwrt/staging/nbd.git] / toolchain / gcc / Config.version
index a47343039582c46e8ff8ba7e0383b81e110395b7..54bb4445b3d127dc54ce6e6b43c1587d5e310fd4 100644 (file)
@@ -1,52 +1,14 @@
-config GCC_DEFAULT_VERSION
+config GCC_VERSION_11
+       default y if GCC_USE_VERSION_11
        bool
 
-config GCC_DEFAULT_VERSION_4_4_7
-       select GCC_DEFAULT_VERSION
-       default y if avr32
+config GCC_VERSION_12
+       default y if GCC_USE_VERSION_12
        bool
 
-config GCC_DEFAULT_VERSION_4_6_LINARO
-       default y if !(GCC_DEFAULT_VERSION)
-       bool
-
-
 config GCC_VERSION
        string
-       default "4.4.7"     if GCC_VERSION_4_4_7
-       default "4.6.2"     if GCC_VERSION_4_6_2
-       default "4.6.3"     if GCC_VERSION_4_6_3
-       default "4.7.2"     if GCC_VERSION_4_7_2
-       default "4.5-linaro"    if GCC_VERSION_4_5_LINARO
-       default "4.6-linaro"    if GCC_VERSION_4_6_LINARO
-       default "4.7-linaro"    if GCC_VERSION_4_7_LINARO
-       default "llvm"      if GCC_VERSION_LLVM
-       default "4.6-linaro"
-
-config GCC_VERSION_4_4
-       bool
-       default y       if GCC_VERSION_4_4_7
-
-config GCC_VERSION_4_5
-       bool
-       default y       if GCC_VERSION_4_5_LINARO
-
-config GCC_VERSION_4_6
-       bool
-       default y       if (GCC_VERSION_4_6_2 || GCC_VERSION_4_6_3 || GCC_VERSION_4_6_LINARO)
-
-config GCC_VERSION_4_7
-       bool
-       default y       if (GCC_VERSION_4_7_2 || GCC_VERSION_4_7_LINARO)
-
-if !TOOLCHAINOPTS
-
-       config GCC_VERSION_4_4_7
-               default y if GCC_DEFAULT_VERSION_4_4_7
-               bool
-
-       config GCC_VERSION_4_6_LINARO
-               default y if GCC_DEFAULT_VERSION_4_6_LINARO
-               bool
-
-endif
+       default EXTERNAL_GCC_VERSION    if EXTERNAL_TOOLCHAIN && !NATIVE_TOOLCHAIN
+       default "11.3.0"        if GCC_VERSION_11
+       default "12.3.0"        if GCC_VERSION_12
+       default "13.2.0"