diff --git a/Makefile b/Makefile index 290624917..8263b6a09 100644 --- a/Makefile +++ b/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 diff --git a/criu/Makefile b/criu/Makefile index cc35f3771..9190b1108 100644 --- a/criu/Makefile +++ b/criu/Makefile @@ -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 diff --git a/test/zdtm/Makefile.inc b/test/zdtm/Makefile.inc index 5e0d4200b..51d2243c5 100644 --- a/test/zdtm/Makefile.inc +++ b/test/zdtm/Makefile.inc @@ -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)),)