]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
buildman: Enable buildman on aarch64 hosts
authorMatthias Brugger <mbrugger@suse.com>
Fri, 17 Jan 2020 09:53:37 +0000 (10:53 +0100)
committerSimon Glass <sjg@chromium.org>
Thu, 6 Feb 2020 02:33:46 +0000 (19:33 -0700)
At kernel.org aarch64 toolchains are published in folder
arm64. Fix the URL for that case, so that we can fetch
toolchains on aarch64 machines.

Signed-off-by: Matthias Brugger <mbrugger@suse.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
tools/buildman/toolchain.py

index 4f39bfd0ce5b81491f06781bc3169be7afe3385a..89c54d688a824650befc5970a0a3094baf0111a7 100644 (file)
@@ -487,6 +487,8 @@ 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']
         links = []