Fix: Failing $(PREREQ_DIRS_DONE) doesn\'t have sub-subdirectories rebuilt

Subdirectories are now always rebuilt with FORCE_REBUILD_SUBDIRS=true.
Otherwise the above check fails to even reach the source code.

Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
Jan Lindemann 2019-07-01 17:59:09 +00:00
commit e0f2e04447

View file

@ -47,7 +47,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: $(PREREQ_DIRS_DONE) dirs-all.done: $(PREREQ_DIRS_DONE)
touch started-dirs-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 FORCE_REBUILD_SUBDIRS=true make -wC $$d $*; done
ifneq ($(DONT_CHECK_PREREQ_DONE),true) ifneq ($(DONT_CHECK_PREREQ_DONE),true)
touch $@ touch $@
endif endif