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

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
Reviewed-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
Cyrill Gorcunov 2012-01-25 17:45:49 +04:00
parent bafb5f1ecc
commit d2f664b877
6 changed files with 12 additions and 4 deletions

View file

@ -150,6 +150,7 @@ clean:
$(Q) $(MAKE) -C test/legacy clean
$(Q) $(MAKE) -C test/zdtm cleandep
$(Q) $(MAKE) -C test/zdtm clean
$(Q) $(MAKE) -C test/zdtm cleanout
.PHONY: clean
tags:
@ -164,9 +165,6 @@ cscope:
$(Q) $(CSCOPE) -bkqu
.PHONY: cscope
no-blob-targets := tags clean cscope
ifeq ($(filter-out no-blob-targets, $(MAKECMDGOALS)),)
ifeq ($(filter-out no-deps-targets, $(MAKECMDGOALS)),)
-include $(DEPS)
endif

View file

@ -36,3 +36,5 @@ ifeq ($(uname_M),x86_64)
ARCH := x86
DEFINES += -DCONFIG_X86_64
endif
no-deps-targets := tags cscope clean cleanout cleandep realclean

View file

@ -25,4 +25,6 @@ realclean: clean cleandep
.PHONY: force clean cleandep cleanout realclean start check_start stop wait_stop
ifeq ($(filter-out no-deps-targets, $(MAKECMDGOALS)),)
-include $(LIBDEP)
endif

View file

@ -157,4 +157,6 @@ realclean: cleandep cleanout
.PHONY: force clean cleandep cleanout realclean start check_start stop wait_stop
ifeq ($(filter-out no-deps-targets, $(MAKECMDGOALS)),)
-include $(DEP)
endif

View file

@ -75,4 +75,6 @@ realclean: cleandep cleanout
.PHONY: force clean cleandep cleanout realclean start check_start stop wait_stop
ifeq ($(filter-out no-deps-targets, $(MAKECMDGOALS)),)
-include $(DEP)
endif

View file

@ -77,4 +77,6 @@ realclean: cleandep cleanout
.PHONY: force clean cleandep cleanout realclean start check_start stop wait_stop
ifeq ($(filter-out no-deps-targets, $(MAKECMDGOALS)),)
-include $(DEP)
endif