Commit d2f664b8 authored by Cyrill Gorcunov's avatar Cyrill Gorcunov

make: Eliminate deps build on no-deps targets in zdtm

Signed-off-by: 's avatarCyrill Gorcunov <gorcunov@openvz.org>
Reviewed-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent bafb5f1e
...@@ -150,6 +150,7 @@ clean: ...@@ -150,6 +150,7 @@ clean:
$(Q) $(MAKE) -C test/legacy clean $(Q) $(MAKE) -C test/legacy clean
$(Q) $(MAKE) -C test/zdtm cleandep $(Q) $(MAKE) -C test/zdtm cleandep
$(Q) $(MAKE) -C test/zdtm clean $(Q) $(MAKE) -C test/zdtm clean
$(Q) $(MAKE) -C test/zdtm cleanout
.PHONY: clean .PHONY: clean
tags: tags:
...@@ -164,9 +165,6 @@ cscope: ...@@ -164,9 +165,6 @@ cscope:
$(Q) $(CSCOPE) -bkqu $(Q) $(CSCOPE) -bkqu
.PHONY: cscope .PHONY: cscope
no-blob-targets := tags clean cscope ifeq ($(filter-out no-deps-targets, $(MAKECMDGOALS)),)
ifeq ($(filter-out no-blob-targets, $(MAKECMDGOALS)),)
-include $(DEPS) -include $(DEPS)
endif endif
...@@ -36,3 +36,5 @@ ifeq ($(uname_M),x86_64) ...@@ -36,3 +36,5 @@ ifeq ($(uname_M),x86_64)
ARCH := x86 ARCH := x86
DEFINES += -DCONFIG_X86_64 DEFINES += -DCONFIG_X86_64
endif endif
no-deps-targets := tags cscope clean cleanout cleandep realclean
...@@ -25,4 +25,6 @@ realclean: clean cleandep ...@@ -25,4 +25,6 @@ realclean: clean cleandep
.PHONY: force clean cleandep cleanout realclean start check_start stop wait_stop .PHONY: force clean cleandep cleanout realclean start check_start stop wait_stop
ifeq ($(filter-out no-deps-targets, $(MAKECMDGOALS)),)
-include $(LIBDEP) -include $(LIBDEP)
endif
...@@ -157,4 +157,6 @@ realclean: cleandep cleanout ...@@ -157,4 +157,6 @@ realclean: cleandep cleanout
.PHONY: force clean cleandep cleanout realclean start check_start stop wait_stop .PHONY: force clean cleandep cleanout realclean start check_start stop wait_stop
ifeq ($(filter-out no-deps-targets, $(MAKECMDGOALS)),)
-include $(DEP) -include $(DEP)
endif
...@@ -75,4 +75,6 @@ realclean: cleandep cleanout ...@@ -75,4 +75,6 @@ realclean: cleandep cleanout
.PHONY: force clean cleandep cleanout realclean start check_start stop wait_stop .PHONY: force clean cleandep cleanout realclean start check_start stop wait_stop
ifeq ($(filter-out no-deps-targets, $(MAKECMDGOALS)),)
-include $(DEP) -include $(DEP)
endif
...@@ -77,4 +77,6 @@ realclean: cleandep cleanout ...@@ -77,4 +77,6 @@ realclean: cleandep cleanout
.PHONY: force clean cleandep cleanout realclean start check_start stop wait_stop .PHONY: force clean cleandep cleanout realclean start check_start stop wait_stop
ifeq ($(filter-out no-deps-targets, $(MAKECMDGOALS)),)
-include $(DEP) -include $(DEP)
endif
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment