[Devel] [PATCH 4/4] makefile hack for powerpc

Nathan Lynch ntl at pobox.com
Wed Sep 16 02:27:51 PDT 2009


Add an explict restart target which links clone_ppc32.o into the
restart executable.

Ideas on how to handle this in a mergeable form are welcome.
---
 Makefile |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/Makefile b/Makefile
index 8cd0c2d..10c068c 100644
--- a/Makefile
+++ b/Makefile
@@ -45,6 +45,9 @@ all: $(PROGS)
 ckptinfo: ckptinfo_types.o
 
 restart: CFLAGS += -D__REENTRANT -pthread
+# powerpc hack
+restart: restart.c clone_ppc32.o
+	$(CC) $(CFLAGS) $(CPPFLAGS) $^ -o $@
 
 ckptinfo_types.o: ckptinfo_types.c
 	@echo $(CC) -c $(CFLAGS) $<
-- 
1.6.0.6

_______________________________________________
Containers mailing list
Containers at lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers




More information about the Devel mailing list