[CRIU] [PATCH 2/2] build: Don't call for compel execution on clean targets

Cyrill Gorcunov gorcunov at openvz.org
Fri May 6 04:10:28 PDT 2016


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

diff --git a/criu/pie/Makefile b/criu/pie/Makefile
index a32047b973b9..4adec495fe74 100644
--- a/criu/pie/Makefile
+++ b/criu/pie/Makefile
@@ -46,7 +46,9 @@ CFLAGS			+= -iquote arch/$(ARCH)/include -iquote $(SRC_DIR)
 CFLAGS			+= -iquote $(SRC_DIR)/criu/include
 
 ccflags-y		+= -DCR_NOGLIBC
+ifneq ($(filter-out clean mrproper,$(MAKECMDGOALS)),)
 NATIVE_CFLAGS		:= $(shell $(SRC_DIR)/compel/compel --arch=$(ARCH) cflags)
+endif
 
 ifeq ($(ARCH),x86)
         NATIVE_CFLAGS	+= -DCONFIG_X86_64
-- 
2.5.5



More information about the CRIU mailing list