From f6cbbce6f14849c8dc5f2be62a2804fa5449a033 Mon Sep 17 00:00:00 2001 From: "maple@max" Date: Mon, 27 Jan 2025 18:42:39 +0800 Subject: [PATCH] support build from source on risc64 --- Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile b/Makefile index 70063f3c0e4..e36d5628ce4 100644 --- a/Makefile +++ b/Makefile @@ -78,6 +78,8 @@ else ifeq ($(shell echo $(LOCAL_ARCH) | head -c 4),armv) TARGET_ARCH ?= arm else ifeq ($(LOCAL_ARCH),s390x) TARGET_ARCH ?= s390x +else ifeq ($(LOCAL_ARCH),riscv64) + TARGET_ARCH ?= riscv64 else $(error This system's architecture $(LOCAL_ARCH) isn't supported) endif