dirs.mk: Make dirs-all.done depend on headers, not BUILD_HDRDIR

BUILD_HDRDIR changes its timestamp also on accessing it, so the headers are a
better choice to prevent misfires.

Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
Jan Lindemann 2017-09-19 13:10:01 +00:00
commit 7e18e754db

View file

@ -72,7 +72,7 @@ ifneq ($(DONT_CHECK_PREREQ_DONE),true)
endif endif
ifeq ($(filter clean distclean,$(MAKECMDGOALS)),) ifeq ($(filter clean distclean,$(MAKECMDGOALS)),)
dirs-all.done: $(wildcard $(BUILD_HDRDIR)) dirs-all.done: $(wildcard $(BUILD_HDRDIR)/*.h) $(wildcard $(BUILD_HDRDIR)/$(HDRDIR_SCOPE_PREFIX)/*.h)
endif endif
dirs-%.done: dirs-%.done: