kpatch/LoongArch: enable kpatch build

Since kpatch now supports LoongArch basically, enable the build.

Signed-off-by: George Guo <guodongtai@kylinos.cn>
This commit is contained in:
George Guo 2024-11-07 11:13:50 +08:00
parent 4ce275484a
commit 06f87de0ad

View File

@ -21,7 +21,7 @@ PLUGIN_CFLAGS := $(filter-out -std=gnu11 -Wconversion, $(CFLAGS))
PLUGIN_CFLAGS += -shared -I$(GCC_PLUGINS_DIR)/include \
-Igcc-plugins -fPIC -fno-rtti -O2 -Wall
endif
ifeq ($(filter $(ARCH),s390x x86_64 ppc64le),)
ifeq ($(filter $(ARCH),s390x x86_64 ppc64le loongarch64),)
$(error Unsupported architecture ${ARCH}, check https://github.com/dynup/kpatch/#supported-architectures)
endif