toolchain: Don't force GCC8 on ARC
[openwrt/staging/chunkeey.git] / toolchain / gcc / Config.version
index 4865c01da78c425903a6cbd9719857398ccd6a76..2a9dc289dbd65422787a78f632e0425ef97d7769 100644 (file)
@@ -1,35 +1,24 @@
-config GCC_VERSION_4_4_7
-       default y if (!TOOLCHAINOPTS && avr32)
+config GCC_VERSION_5
+       default y if GCC_USE_VERSION_5
        bool
 
-config GCC_VERSION_4_6_LINARO
-       default y if (!TOOLCHAINOPTS && !avr32)
+config GCC_VERSION_8
+       default y if GCC_USE_VERSION_8
+       default y if arc && !GCC_USE_VERSION_9
        bool
 
-config GCC_VERSION_4_8_LINARO
+config GCC_VERSION_9
+       default y if GCC_USE_VERSION_9
        bool
 
-config GCC_VERSION_4_8_0
+config GCC_USE_EMBEDDED_PATH_REMAP
+       default y if ( GCC_VERSION_8 || GCC_VERSION_9 )
+       default n
        bool
 
 config GCC_VERSION
        string
-       default "4.4.7"     if GCC_VERSION_4_4_7
-       default "4.6.3"     if GCC_VERSION_4_6_3
-       default "4.8.0"     if GCC_VERSION_4_8_0
-       default "4.6-linaro"    if GCC_VERSION_4_6_LINARO
-       default "4.8-linaro"    if GCC_VERSION_4_8_LINARO
-       default "4.6-linaro"
-
-config GCC_VERSION_4_4
-       bool
-       default y       if GCC_VERSION_4_4_7
-
-config GCC_VERSION_4_6
-       bool
-       default y       if GCC_VERSION_4_6_LINARO
-
-config GCC_VERSION_4_8
-       bool
-       default y       if (GCC_VERSION_4_8_0 || GCC_VERSION_4_8_LINARO)
-
+       default "5.5.0"         if GCC_VERSION_5
+       default "8.3.0"         if GCC_VERSION_8
+       default "9.1.0"         if GCC_VERSION_9
+       default "7.4.0"