diff options
author | Matthias Brugger <mbrugger@suse.com> | 2020-01-17 12:53:37 +0300 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2020-02-06 05:33:46 +0300 |
commit | 2f7c53cbd3e8094d2c4398b293a68304b7af721c (patch) | |
tree | 2fdaf1181638613e5c9a20677e83747fc4244f2f | |
parent | 8d73be7a8e47ee57efe57ee17ed393bac1011fce (diff) | |
download | u-boot-2f7c53cbd3e8094d2c4398b293a68304b7af721c.tar.xz |
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.py | 2 |
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 = [] |