2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-22 01:51:51 +00:00

build: Use ppc64 for PowerPC 64 bits architecture

The nmk framework now references PowerPC 64 bits architectures as
ppc64. This applies for both little endian, and the future supported
big endian one.

Acked-by: Cyrill Gorcunov <gorcunov@gmail.com>
Signed-off-by: Laurent Dufour <ldufour@linux.vnet.ibm.com>
Signed-off-by: Pavel Emelyanov <xemul@virtuozzo.com>
This commit is contained in:
Laurent Dufour 2016-02-24 17:21:31 +01:00 committed by Pavel Emelyanov
parent 64144b92d5
commit 1ec3a107fd
3 changed files with 2 additions and 14 deletions

View File

@ -62,7 +62,7 @@ endif
# The PowerPC 64 bits architecture could be big or little endian.
# They are handled in the same way.
#
ifeq ($(ARCH),powerpc)
ifeq ($(ARCH),ppc64)
ifeq ($(UNAME-M),ppc64)
error := $(error ppc64 big endian not yet supported)
endif

View File

@ -24,8 +24,7 @@ ifeq ($(ARCH),arm64)
VDSO := y
endif
ifeq ($(ARCH),powerpc)
ARCH := ppc64
ifeq ($(ARCH),ppc64)
SRCARCH := ppc64
LDARCH := powerpc:common64
VDSO := y

View File

@ -18,17 +18,6 @@ ifeq ($(ARCH),x86_64)
SRCARCH := x86
endif
#
# The PowerPC 64 bits architecture could be big or little endian.
# They are handled in the same way.
#
ifeq ($(shell echo $(ARCH) | sed -e 's/ppc64.*/ppc64/'),ppc64)
ifeq ($(ARCH),ppc64)
error := $(error ppc64 big endian not yet supported)
endif
SRCARCH := ppc64
endif
CPPFLAGS += -iquote $(LIBDIR)/arch/$(SRCARCH)/include
ifeq ($(strip $(V)),)