build: Be sure to also include out/*.d files in Makefile

Not including the out/*.d build files can cause the build to be
incomplete.  In particular, without this fix, if the code is built for
ARM and then configured for AVR, the build can produce a corrupt AVR
binary.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
Kevin O'Connor 2016-10-21 12:00:03 -04:00
parent 93bd19a8c2
commit 306db9a851
1 changed files with 1 additions and 1 deletions

View File

@ -123,4 +123,4 @@ clean:
distclean: clean distclean: clean
$(Q)rm -f .config .config.old $(Q)rm -f .config .config.old
-include $(patsubst %,$(OUT)%/*.d,$(dirs-y)) -include $(OUT)*.d $(patsubst %,$(OUT)%/*.d,$(dirs-y))