[CRIU] [PATCH] build: compel -- Drop double targeting

Cyrill Gorcunov gorcunov at openvz.org
Thu Apr 7 01:19:09 PDT 2016


It's a hostprog so one target is enough,
otherwise we're gitting double deps generation.

Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
 Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index ec2eb7399f7c..e22c71e4d977 100644
--- a/Makefile
+++ b/Makefile
@@ -109,7 +109,8 @@ CFLAGS			+= $(WARNINGS) $(DEFINES)
 $(eval $(call gen-built-in,images))
 
 # Compel get used by CRIU, build it earlier
-$(eval $(call gen-built-in,compel))
+compel/%:
+	$(Q) $(MAKE) $(build)=compel $@
 
 #
 # CRIU building done in own directory
-- 
2.5.5



More information about the CRIU mailing list