[CRIU] [PATCH 3/3] build: Reused .FORCE from nmk
Cyrill Gorcunov
gorcunov at openvz.org
Sun Oct 22 01:16:06 MSK 2017
Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
Makefile | 2 --
criu/Makefile | 2 --
lib/Makefile | 2 --
lib/py/Makefile | 2 --
4 files changed, 8 deletions(-)
diff --git a/Makefile b/Makefile
index 796cad874da2..75f328e50efc 100644
--- a/Makefile
+++ b/Makefile
@@ -195,8 +195,6 @@ endif
$(eval $(call gen-built-in,images))
criu-deps += images/built-in.o
-.PHONY: .FORCE
-
#
# Compel get used by CRIU, build it earlier
include Makefile.compel
diff --git a/criu/Makefile b/criu/Makefile
index b556a832be99..bcfb71622c60 100644
--- a/criu/Makefile
+++ b/criu/Makefile
@@ -1,5 +1,3 @@
-.PHONY: .FORCE
-
# here is a workaround for a bug in libnl-3:
# 6a8d90f5fec4 "attr: Allow attribute type 0"
WRAPFLAGS += -Wl,--wrap=nla_parse,--wrap=nlmsg_parse
diff --git a/lib/Makefile b/lib/Makefile
index b1bb057278f7..26b355aa26f6 100644
--- a/lib/Makefile
+++ b/lib/Makefile
@@ -2,8 +2,6 @@ CRIU_SO := libcriu.so
UAPI_HEADERS := lib/c/criu.h images/rpc.proto
PYTHON_BIN ?= python2
-.PHONY: .FORCE
-
#
# File to keep track of files installed by setup.py
CRIT_SETUP_FILES := lib/.crit-setup.files
diff --git a/lib/py/Makefile b/lib/py/Makefile
index 5eb77d40ee43..691b6bdd3320 100644
--- a/lib/py/Makefile
+++ b/lib/py/Makefile
@@ -1,7 +1,5 @@
all-y += libpy-images rpc_pb2.py
-.PHONY: .FORCE
-
$(obj)/images/Makefile: ;
$(obj)/images/%: .FORCE
$(Q) $(MAKE) $(build)=$(obj)/images $@
--
2.7.5
More information about the CRIU
mailing list