dirs.mk: Fix dirs-started-.done was deleted by build_XXX target

There is a rm -f dirs-*.done in build_XXX, so I've renamed dirs-started-all.done
to started-dirs-all.done

Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
Jan Lindemann 2017-12-17 16:29:44 +00:00
commit 6f75d72296

View file

@ -65,7 +65,7 @@ endif
# explicit duplication of pattern-rule is needed, otherwise .PHONY: dirs-all.done won't match # explicit duplication of pattern-rule is needed, otherwise .PHONY: dirs-all.done won't match
dirs-all.done: dirs-all.done:
touch dirs-started-all.done touch started-dirs-all.done
set -e; for d in $(SUBDIRS_TO_ITERATE) ; do make -wC $$d $*; done set -e; for d in $(SUBDIRS_TO_ITERATE) ; do make -wC $$d $*; done
ifneq ($(DONT_CHECK_PREREQ_DONE),true) ifneq ($(DONT_CHECK_PREREQ_DONE),true)
touch $@ touch $@
@ -76,7 +76,7 @@ dirs-all.done: $(wildcard $(BUILD_HDRDIR)/*.h) $(wildcard $(BUILD_HDRDIR)/$(HDRD
endif endif
dirs-%.done: dirs-%.done:
touch dirs-started-$*.done touch started-dirs-$*.done
set -e; for d in $(SUBDIRS_TO_ITERATE) ; do make -wC $$d $*; done set -e; for d in $(SUBDIRS_TO_ITERATE) ; do make -wC $$d $*; done
ifneq ($(DONT_CHECK_PREREQ_DONE),true) ifneq ($(DONT_CHECK_PREREQ_DONE),true)
touch $@ touch $@