[CRIU] [PATCH] build: criu -- Fix deps for pie/lib.a and criu's built-in.o
Cyrill Gorcunov
gorcunov at openvz.org
Mon Feb 15 06:26:34 PST 2016
- while arch-lib already depends on syscall lib better to put
it into deps explicitly
- criu's built-in.o must depend on the pie target rather than
pie/lib.a only because it uses -blob.h for internal deps
Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
criu/Makefile | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/criu/Makefile b/criu/Makefile
index e4e2afb15064..282bd7b658d4 100644
--- a/criu/Makefile
+++ b/criu/Makefile
@@ -124,7 +124,7 @@ endif
#
# PIE library code.
-pie/lib.a: $(ARCH-LIB)
+pie/lib.a: $(ARCH-LIB) $(SYSCALL-LIB)
$(Q) $(MAKE) $(call build-as,Makefile.library,pie) all
#
@@ -142,7 +142,7 @@ PROGRAM-BUILTINS += $(SYSCALL-LIB)
LIBS += arch/$(ARCH)/crtools.built-in.o
-built-in.o: pie/lib.a
+built-in.o: pie
$(Q) $(MAKE) $(call build-as,Makefile.crtools,.) all
criu: $(PROGRAM-BUILTINS) built-in.o
--
2.5.0
More information about the CRIU
mailing list