buildman: Support fetching gcc 9.2.0
[oweals/u-boot.git] / tools / buildman / toolchain.py
index 4f39bfd0ce5b81491f06781bc3169be7afe3385a..4456a805c742d0505500f8c5ea27803f794d660a 100644 (file)
@@ -487,8 +487,10 @@ class Toolchains:
                 URL containing this toolchain, if avaialble, else None
         """
         arch = command.OutputOneLine('uname', '-m')
+        if arch == 'aarch64':
+            arch = 'arm64'
         base = 'https://www.kernel.org/pub/tools/crosstool/files/bin'
-        versions = ['7.3.0', '6.4.0', '4.9.4']
+        versions = ['9.2.0', '7.3.0', '6.4.0', '4.9.4']
         links = []
         for version in versions:
             url = '%s/%s/%s/' % (base, arch, version)