2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-22 18:07:57 +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. # The PowerPC 64 bits architecture could be big or little endian.
# They are handled in the same way. # They are handled in the same way.
# #
ifeq ($(ARCH),powerpc) ifeq ($(ARCH),ppc64)
ifeq ($(UNAME-M),ppc64) ifeq ($(UNAME-M),ppc64)
error := $(error ppc64 big endian not yet supported) error := $(error ppc64 big endian not yet supported)
endif endif

View File

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

View File

@ -18,17 +18,6 @@ ifeq ($(ARCH),x86_64)
SRCARCH := x86 SRCARCH := x86
endif 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 CPPFLAGS += -iquote $(LIBDIR)/arch/$(SRCARCH)/include
ifeq ($(strip $(V)),) ifeq ($(strip $(V)),)