Skip to content

Commit

Permalink
handle uname on linux/arm64
Browse files Browse the repository at this point in the history
Signed-off-by: Ashley Davis <[email protected]>
  • Loading branch information
SgtCoDFish committed Feb 17, 2023
1 parent b5d1b1e commit 819a82a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions make/tools.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 819a82a

Please sign in to comment.