aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2016-10-21 12:00:03 -0400
committerKevin O'Connor <kevin@koconnor.net>2016-10-21 12:00:03 -0400
commit306db9a8516a42258346a1292da550199a06d8d6 (patch)
tree04132eb23f1dea461edc5c69b20329c3cf4ec757 /Makefile
parent93bd19a8c2160bd044545c6e5f865172bc056c53 (diff)
downloadkutter-306db9a8516a42258346a1292da550199a06d8d6.tar.gz
kutter-306db9a8516a42258346a1292da550199a06d8d6.tar.xz
kutter-306db9a8516a42258346a1292da550199a06d8d6.zip
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>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
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))