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:
parent
64144b92d5
commit
1ec3a107fd
2
Makefile
2
Makefile
@ -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
|
||||
|
@ -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
|
||||
|
@ -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)),)
|
||||
|
Loading…
x
Reference in New Issue
Block a user