Skip to content

Commit

Permalink
buildman: Enable buildman on aarch64 hosts
Browse files Browse the repository at this point in the history
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 <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
  • Loading branch information
mbgg authored and sjg20 committed Feb 6, 2020
1 parent 8d73be7 commit 2f7c53c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tools/buildman/toolchain.py
Original file line number Diff line number Diff line change
Expand Up @@ -487,6 +487,8 @@ def LocateArchUrl(self, fetch_arch):
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 = []
Expand Down

0 comments on commit 2f7c53c

Please sign in to comment.