scripts/ext-toolchain: implement external GCC version detection
[openwrt/staging/dangole.git] / toolchain / gcc / Config.version
index 616b6bbe35e2be6027b5be489a2175c1d9a97cc2..a00685ffa3f295fb14003771c92c6da7d1ed6aa2 100644 (file)
@@ -1,13 +1,14 @@
-config GCC_VERSION_7_1_ARC
-       default y if (!TOOLCHAINOPTS && arc)
+config GCC_VERSION_11
+       default y if GCC_USE_VERSION_11
        bool
 
-config GCC_VERSION_5
-       default y if GCC_USE_VERSION_5
+config GCC_VERSION_13
+       default y if GCC_USE_VERSION_13
        bool
 
 config GCC_VERSION
        string
-       default "5.5.0"         if GCC_VERSION_5
-       default "arc-2017.09-release"   if GCC_VERSION_7_1_ARC
-       default "7.3.0"
+       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"