[CRIU] [PATCH 2/3] build: nmk -- Move phony targets to include.mk
Cyrill Gorcunov
gorcunov at openvz.org
Sun Oct 22 01:16:05 MSK 2017
So they can be reused.
Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
scripts/nmk/Makefile | 2 --
scripts/nmk/scripts/include.mk | 2 ++
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/scripts/nmk/Makefile b/scripts/nmk/Makefile
index ab1aa2255bc3..baab57b94a6c 100644
--- a/scripts/nmk/Makefile
+++ b/scripts/nmk/Makefile
@@ -5,8 +5,6 @@ include $(__nmk_dir)include.mk
MAKEFLAGS := -r -R --no-print-directory
-.PHONY: all help test docs clean install .FORCE
-
help:
@echo ' Targets:'
@echo ' install dir=<dir> - Install scripts into directory <dir>'
diff --git a/scripts/nmk/scripts/include.mk b/scripts/nmk/scripts/include.mk
index 04ccb3adecb2..e1701103f976 100644
--- a/scripts/nmk/scripts/include.mk
+++ b/scripts/nmk/scripts/include.mk
@@ -4,6 +4,8 @@ ifndef ____nmk_defined__msg
include $(__nmk_dir)msg.mk
endif
+.PHONY: all help test docs clean install .FORCE
+
#
# Common vars.
SUBARCH := $(shell uname -m | sed \
--
2.7.5
More information about the CRIU
mailing list