Merge pull request #5810 from SgtCoDFish/aarch64

Handle uname on linux/arm64
This commit is contained in:
jetstack-bot 2023-02-20 07:35:22 +00:00 committed by GitHub
commit 2aaef76b23
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -51,8 +51,11 @@ $(BINDIR)/scratch/%_VERSION: FORCE | $(BINDIR)/scratch
# and Intel).
HOST_OS := $(shell uname -s | tr A-Z a-z)
HOST_ARCH = $(shell uname -m)
ifeq (x86_64, $(HOST_ARCH))
HOST_ARCH = amd64
else ifeq (aarch64, $(HOST_ARCH))
HOST_ARCH = arm64
endif
# --silent = don't print output like progress meters