toolchain: Don't force GCC8 on ARC
[openwrt/staging/chunkeey.git] / toolchain / gcc / Config.version
index 50da678a0568f3e1ae894b53924e6ba794c4b20e..2a9dc289dbd65422787a78f632e0425ef97d7769 100644 (file)
@@ -1,14 +1,24 @@
-config GCC_VERSION_7_1_ARC
-       default y if (!TOOLCHAINOPTS && arc)
-       bool
-
 config GCC_VERSION_5
        default y if GCC_USE_VERSION_5
        bool
 
+config GCC_VERSION_8
+       default y if GCC_USE_VERSION_8
+       default y if arc && !GCC_USE_VERSION_9
+       bool
+
+config GCC_VERSION_9
+       default y if GCC_USE_VERSION_9
+       bool
+
+config GCC_USE_EMBEDDED_PATH_REMAP
+       default y if ( GCC_VERSION_8 || GCC_VERSION_9 )
+       default n
+       bool
+
 config GCC_VERSION
        string
        default "5.5.0"         if GCC_VERSION_5
-       default "arc-2017.09-release"   if GCC_VERSION_7_1_ARC
-       default "6.3.0"         if GCC_USE_VERSION_6
-       default "7.3.0"
+       default "8.3.0"         if GCC_VERSION_8
+       default "9.1.0"         if GCC_VERSION_9
+       default "7.4.0"