toolchain: add support of ARC architecture
[openwrt/staging/wigyori.git] / toolchain / gcc / Config.version
index 9636fca03b9778bcd03084ef1af511d4dad00ab1..8fd658e35745a8b7f1254ea9c7256ee79bb9e488 100644 (file)
@@ -3,7 +3,11 @@ config GCC_VERSION_4_6_LINARO
        bool
 
 config GCC_VERSION_4_8_LINARO
-       default y if (!TOOLCHAINOPTS && !TARGET_octeon)
+       default y if (!TOOLCHAINOPTS && !(TARGET_octeon || arc))
+       bool
+
+config GCC_VERSION_4_8_ARC
+       default y if (!TOOLCHAINOPTS && arc)
        bool
 
 config GCC_VERSION
@@ -11,6 +15,7 @@ config GCC_VERSION
        default "5.2.0"     if GCC_VERSION_5
        default "4.6-linaro"    if GCC_VERSION_4_6_LINARO
        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_6
@@ -19,7 +24,7 @@ config GCC_VERSION_4_6
 
 config GCC_VERSION_4_8
        bool
-       default y       if GCC_VERSION_4_8_LINARO
+       default y       if (GCC_VERSION_4_8_LINARO || GCC_VERSION_4_8_ARC)
 
 config GCC_VERSION_5
        bool