toolchain: add support of ARC architecture
[openwrt/svn-archive/archive.git] / toolchain / gcc / Config.version
index bf8b3e441ed774f007fd03c4e1fbc6c6a3ae738d..8fd658e35745a8b7f1254ea9c7256ee79bb9e488 100644 (file)
@@ -1,46 +1,30 @@
-config GCC_VERSION_4_4_7
-       default y if (!TOOLCHAINOPTS && avr32)
-       bool
-
-config GCC_VERSION_4_6_3
-       bool
-
-config GCC_VERSION_4_7_2
-       bool
-
 config GCC_VERSION_4_6_LINARO
-       default y if (!TOOLCHAINOPTS && !avr32)
+       default y if (!TOOLCHAINOPTS && TARGET_octeon)
        bool
 
-config GCC_VERSION_4_7_LINARO
+config GCC_VERSION_4_8_LINARO
+       default y if (!TOOLCHAINOPTS && !(TARGET_octeon || arc))
        bool
 
-config GCC_VERSION_4_8_0
+config GCC_VERSION_4_8_ARC
+       default y if (!TOOLCHAINOPTS && arc)
        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 "5.2.0"     if GCC_VERSION_5
        default "4.6-linaro"    if GCC_VERSION_4_6_LINARO
-       default "4.7-linaro"    if GCC_VERSION_4_7_LINARO
-       default "4.8.0"     if GCC_VERSION_4_8_0
+       default "4.8-linaro"    if GCC_VERSION_4_8_LINARO
+       default "arc-2015.06"   if GCC_VERSION_4_8_ARC
        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)
+       default y       if GCC_VERSION_4_6_LINARO
 
 config GCC_VERSION_4_8
        bool
-       default y       if GCC_VERSION_4_8_0
+       default y       if (GCC_VERSION_4_8_LINARO || GCC_VERSION_4_8_ARC)
 
+config GCC_VERSION_5
+       bool