toolchain: gcc: Remove support for GCC 5
[openwrt/openwrt.git] / toolchain / gcc / Config.version
index 46da90070d47d34f3dbdd2651a52f3a6409058d3..967ce9e4892b10f0c90b15187e8c420336b77266 100644 (file)
@@ -1,44 +1,23 @@
-config GCC_DEFAULT_VERSION
+config GCC_VERSION_7
+       default y if GCC_USE_VERSION_7
        bool
 
-config GCC_DEFAULT_VERSION_4_4_6
-       select GCC_DEFAULT_VERSION
-       default y if (avr32 || ubicom32)
+config GCC_VERSION_9
+       default y if GCC_USE_VERSION_9
        bool
 
-config GCC_DEFAULT_VERSION_LINARO
-       default y if !(GCC_DEFAULT_VERSION)
+config GCC_VERSION_10
+       default y if GCC_USE_VERSION_10
        bool
 
-
 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 "linaro"    if GCC_VERSION_LINARO
-       default "llvm"      if GCC_VERSION_LLVM
-       default "linaro"
-
-config GCC_VERSION_4_4
-       bool
-       default y       if GCC_VERSION_4_4_6
-
-config GCC_VERSION_4_5
-       bool
-       default y       if GCC_VERSION_LINARO
+       default "7.5.0"         if GCC_VERSION_7
+       default "9.3.0"         if GCC_VERSION_9
+       default "10.2.0"        if GCC_VERSION_10
+       default "8.4.0"
 
-config GCC_VERSION_4_6
+config GCC_USE_IREMAP
        bool
-       default y       if GCC_VERSION_4_6_1
-
-if !TOOLCHAINOPTS
-
-       config GCC_VERSION_4_4_6
-               default y if GCC_DEFAULT_VERSION_4_4_6
-               bool
-
-       config GCC_VERSION_LINARO
-               default y if GCC_DEFAULT_VERSION_LINARO
-               bool
-
-endif
+       default y if GCC_USE_VERSION_7
+       default n