toolchain: Use GCC 8.3.0 by default for ARC
[openwrt/openwrt.git] / toolchain / gcc / Config.version
index 842fec141615263560cccd36c973833d880d257f..e2ef20552d3e0547cc340771a584870c5cd564cf 100644 (file)
@@ -1,50 +1,24 @@
-config GCC_VERSION_4_4_7
-       default y if (!TOOLCHAINOPTS && avr32)
+config GCC_VERSION_7_1_ARC
+       default y if (!TOOLCHAINOPTS && arc)
        bool
 
-config GCC_VERSION_4_6_3
+config GCC_VERSION_5
+       default y if GCC_USE_VERSION_5
        bool
 
-config GCC_VERSION_4_7_2
+config GCC_VERSION_8
+       default y if GCC_USE_VERSION_8
+       default y if arc
        bool
 
-config GCC_VERSION_4_6_LINARO
-       default y if (!TOOLCHAINOPTS && !avr32)
-       bool
-
-config GCC_VERSION_4_7_LINARO
-       bool
-
-config GCC_VERSION_4_8_LINARO
-       bool
-
-config GCC_VERSION_4_8_0
+config GCC_USE_EMBEDDED_PATH_REMAP
+       default y if GCC_VERSION_8
+       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.7.2"     if GCC_VERSION_4_7_2
-       default "4.8.0"     if GCC_VERSION_4_8_0
-       default "4.6-linaro"    if GCC_VERSION_4_6_LINARO
-       default "4.7-linaro"    if GCC_VERSION_4_7_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_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)
-
-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 "arc-2017.09-release"   if GCC_VERSION_7_1_ARC
+       default "8.3.0"         if GCC_VERSION_8
+       default "7.4.0"