gcc: make colors optional based on the GCC_COLORS env var
[openwrt/svn-archive/archive.git] / toolchain / gcc / Config.version
index ac4ed7da1b42c3c53628511a48da0096beddb686..efd8dc026d448ea1e249f892ce193474493e354b 100644 (file)
@@ -1,23 +1,20 @@
-config GCC_VERSION
-       string
-       default "3.4.6"     if GCC_VERSION_3_4_6
-       default "4.1.2"     if GCC_VERSION_4_1_2
-       default "4.2.0"     if GCC_VERSION_4_2_0
-       default "4.2.1"     if GCC_VERSION_4_2_1
-       default "4.2.2"     if GCC_VERSION_4_2_2
-       default "4.2.3"     if GCC_VERSION_4_2_3
-       default "4.2.4"     if GCC_VERSION_4_2_4
-       default "4.1.2"
-
-if !TOOLCHAINOPTS
-       config GCC_VERSION_3_4_6
-               default y if LINUX_2_4
+config GCC_VERSION_4_8_LINARO
+       bool
 
-       config GCC_VERSION_4_2_0
-               default y if TARGET_magicbox
+config GCC_VERSION_4_8_ARC
+       default y if (!TOOLCHAINOPTS && arc)
+       bool
 
-       config GCC_VERSION_4_2_4
-               default y if TARGET_avr32
-endif
+config GCC_VERSION
+       string
+       default "4.8-linaro"    if GCC_VERSION_4_8_LINARO
+       default "arc-2015.06"   if GCC_VERSION_4_8_ARC
+       default "5.2.0"
 
+config GCC_VERSION_4_8
+       bool
+       default y       if (GCC_VERSION_4_8_LINARO || GCC_VERSION_4_8_ARC)
 
+config GCC_VERSION_5
+       default y if (!TOOLCHAINOPTS && !arc)
+       bool