mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-07-17 16:47:50 +00:00
compel: add loongarch64 support
Signed-off-by: znley <shanjiantao@loongson.cn>
This commit is contained in:
parent
b304106e6b
commit
c9df09eeab
23 changed files with 881 additions and 3 deletions
10
Makefile
10
Makefile
|
|
@ -19,7 +19,7 @@ endif
|
|||
|
||||
#
|
||||
# Supported Architectures
|
||||
ifneq ($(filter-out x86 arm aarch64 ppc64 s390 mips,$(ARCH)),)
|
||||
ifneq ($(filter-out x86 arm aarch64 ppc64 s390 mips loongarch64,$(ARCH)),)
|
||||
$(error "The architecture $(ARCH) isn't supported")
|
||||
endif
|
||||
|
||||
|
|
@ -80,6 +80,10 @@ ifeq ($(ARCH),mips)
|
|||
DEFINES := -DCONFIG_MIPS
|
||||
endif
|
||||
|
||||
ifeq ($(ARCH),loongarch64)
|
||||
DEFINES := -DCONFIG_LOONGARCH64
|
||||
endif
|
||||
|
||||
#
|
||||
# CFLAGS_PIE:
|
||||
#
|
||||
|
|
@ -122,6 +126,10 @@ ifeq ($(ARCH),mips)
|
|||
WARNINGS := -rdynamic
|
||||
endif
|
||||
|
||||
ifeq ($(ARCH),loongarch64)
|
||||
WARNINGS := -Wno-implicit-function-declaration
|
||||
endif
|
||||
|
||||
ifneq ($(GCOV),)
|
||||
LDFLAGS += -lgcov
|
||||
CFLAGS += $(CFLAGS-GCOV)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue