[CRIU] [PATCH 1/4] ppc64: Fix pie Makefile

Laurent Dufour ldufour at linux.vnet.ibm.com
Thu Sep 3 07:26:28 PDT 2015


When building without the vDSO support on PowerPC (which is not a good
idea), the build is failing because few files are not included in the
build.

This fix moves those files inclusion outside of the vDSO directive.

CC: Pavel Emelyanov <xemul at parallels.com>
Signed-off-by: Laurent Dufour <ldufour at linux.vnet.ibm.com>
---
 pie/Makefile | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/pie/Makefile b/pie/Makefile
index 03cd4bc2b546..119822ae5d93 100644
--- a/pie/Makefile
+++ b/pie/Makefile
@@ -12,11 +12,14 @@ asm-e			+= $(ARCH_DIR)/intraprocedure.o
 endif
 ifeq ($(SRCARCH), ppc64)
 asm-e			+= $(ARCH_DIR)/vdso-trampoline.o
+endif
+endif
+
+ifeq ($(SRCARCH), ppc64)
 asm-e			+= $(ARCH_DIR)/memcpy_power7.o
 asm-e			+= $(ARCH_DIR)/memcmp_64.o
 asm-e			+= $(ARCH_DIR)/misc.o
 endif
-endif
 
 parasite-obj-y		+= parasite.o
 parasite-asm-e		+= $(ARCH_DIR)/parasite-head.o
-- 
1.9.1



More information about the CRIU mailing list