scripts/ext-toolchain: implement external GCC version detection
[openwrt/staging/dangole.git] / toolchain / gcc / Config.version
index f9e8c47c6f2557e6045829aa2fcf45145115e9a7..a00685ffa3f295fb14003771c92c6da7d1ed6aa2 100644 (file)
@@ -1,17 +1,14 @@
-config GCC_VERSION_4_8_ARC
-       default y if (!TOOLCHAINOPTS && arc)
+config GCC_VERSION_11
+       default y if GCC_USE_VERSION_11
        bool
 
-config GCC_VERSION
-       string
-       default "4.8-linaro"    if GCC_VERSION_4_8_LINARO
-       default "arc-2016.03"   if GCC_VERSION_4_8_ARC
-       default "5.3.0"
-
-config GCC_VERSION_4_8
+config GCC_VERSION_13
+       default y if GCC_USE_VERSION_13
        bool
-       default y       if (GCC_VERSION_4_8_LINARO || GCC_VERSION_4_8_ARC)
 
-config GCC_VERSION_5
-       default y if (!TOOLCHAINOPTS && !arc)
-       bool
+config GCC_VERSION
+       string
+       default EXTERNAL_GCC_VERSION    if EXTERNAL_TOOLCHAIN && !NATIVE_TOOLCHAIN
+       default "11.3.0"        if GCC_VERSION_11
+       default "13.2.0"        if GCC_VERSION_13
+       default "12.3.0"