Add loongarch64 architecture support

This commit is contained in:
DWwanghao 2025-06-24 20:52:37 +08:00
parent b4a98b13fe
commit 8ccce74acd
1 changed files with 2 additions and 0 deletions

View File

@ -76,6 +76,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),loongarch64)
TARGET_ARCH ?= loong64
else
$(error This system's architecture $(LOCAL_ARCH) isn't supported)
endif