[CRIU] [PATCH 2/6] make: fix dependencies for "make criu" to work
Filipe Brandenburger
filbranden at google.com
Thu May 22 11:18:01 PDT 2014
Without the added dependencies, "make criu" will fail when trying to
build arch/x86/crtools.d because it can not find include/config.h, the
extra dependencies force the "config" rule to be processed before the
dependencies of "criu" are evaluated.
Signed-off-by: Filipe Brandenburger <filbranden at google.com>
---
Makefile | 1 +
1 file changed, 1 insertion(+)
diff --git a/Makefile b/Makefile
index 4972f6ceb7a8..231d1036dbaf 100644
--- a/Makefile
+++ b/Makefile
@@ -184,6 +184,7 @@ pie/$(VDSO_O): pie
$(Q) $(MAKE) $(build)=pie pie/$(VDSO_O)
PROGRAM-BUILTINS += pie/$(VDSO_O)
+$(SYSCALL-LIB) $(ARCH-LIB) $(PROGRAM-BUILTINS): config
$(PROGRAM): $(SYSCALL-LIB) $(ARCH-LIB) $(PROGRAM-BUILTINS)
$(E) " LINK " $@
--
1.9.1.423.g4596e3a
More information about the CRIU
mailing list