From bdb34e761726461db4068a2c01e1b11c1f568387 Mon Sep 17 00:00:00 2001 From: Hui Zhu Date: Tue, 5 Mar 2019 09:48:03 +0800 Subject: [PATCH] Makefile: Fix aarch64 fail in No GO command or GOPATH not set mode Got aarch64 fail in No GO command or GOPATH not set mode: Makefile:38: arch/aarch64-options.mk: No such file or directory Makefile:237: *** "ERROR: No hypervisors known for architecture aarch64 (looked for: firecracker qemu)". Stop. The cause is the machine hardware name of aarch64 is aarch64 but runtime's arch make file's name is arm64-options.mk. This commit convert aarch64 to arm64 to fix the issue. Fixes: #1320 Signed-off-by: Hui Zhu --- Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile b/Makefile index d7e29da1f4..7340add51f 100644 --- a/Makefile +++ b/Makefile @@ -26,6 +26,9 @@ else ifeq ($(ARCH),x86_64) ARCH = amd64 endif + ifeq ($(ARCH),aarch64) + ARCH = arm64 + endif endif ARCH_DIR = arch