From: Matthias Brugger Date: Fri, 17 Jan 2020 09:53:37 +0000 (+0100) Subject: buildman: Enable buildman on aarch64 hosts X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=2f7c53cbd3e8094d2c4398b293a68304b7af721c;p=u-boot.git 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 Reviewed-by: Simon Glass --- 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 = []