From 306db9a8516a42258346a1292da550199a06d8d6 Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Fri, 21 Oct 2016 12:00:03 -0400 Subject: [PATCH] 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 --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 2cbc7281..b17cb885 100644 --- a/Makefile +++ b/Makefile @@ -123,4 +123,4 @@ clean: distclean: clean $(Q)rm -f .config .config.old --include $(patsubst %,$(OUT)%/*.d,$(dirs-y)) +-include $(OUT)*.d $(patsubst %,$(OUT)%/*.d,$(dirs-y))