summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Brugger <mbrugger@suse.com>2020-01-17 10:53:37 +0100
committerSimon Glass <sjg@chromium.org>2020-02-05 19:33:46 -0700
commit2f7c53cbd3e8094d2c4398b293a68304b7af721c (patch)
tree2fdaf1181638613e5c9a20677e83747fc4244f2f
parent8d73be7a8e47ee57efe57ee17ed393bac1011fce (diff)
downloadu-boot-2f7c53cbd3e8094d2c4398b293a68304b7af721c.tar.gz
u-boot-2f7c53cbd3e8094d2c4398b293a68304b7af721c.tar.bz2
u-boot-2f7c53cbd3e8094d2c4398b293a68304b7af721c.zip
buildman: Enable buildman on aarch64 hosts
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>
-rw-r--r--tools/buildman/toolchain.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/buildman/toolchain.py b/tools/buildman/toolchain.py
index 4f39bfd0ce..89c54d688a 100644
--- a/tools/buildman/toolchain.py
+++ b/tools/buildman/toolchain.py
@@ -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 = []