[CRIU] [PATCH 01/11] nmk: Don't include deps on mrproper
Cyrill Gorcunov
gorcunov at gmail.com
Thu Jul 12 15:51:32 MSK 2018
mrproper doesn't require inclusion of deps similar
as clean target.
Signed-off-by: Cyrill Gorcunov <gorcunov at gmail.com>
---
scripts/nmk/scripts/build.mk | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/nmk/scripts/build.mk b/scripts/nmk/scripts/build.mk
index a6bd47d526a6..890a912d09b0 100644
--- a/scripts/nmk/scripts/build.mk
+++ b/scripts/nmk/scripts/build.mk
@@ -270,7 +270,7 @@ define collect-deps
endef
ifneq ($(MAKECMDGOALS),)
- ifneq ($(MAKECMDGOALS),clean)
+ ifneq ($(filter-out clean mrproper,$(MAKECMDGOALS)),)
$(foreach goal,$(MAKECMDGOALS),$(eval $(call collect-deps,$(goal))))
deps-y := $(call uniq,$(deps-y))
ifneq ($(deps-y),)
--
2.14.4
More information about the CRIU
mailing list