summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLucas Stach <l.stach@pengutronix.de>2017-01-16 11:45:46 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2017-01-17 07:58:10 +0100
commitaef5d05100a5e4aed13bb1586bf154ff602ab961 (patch)
tree0e3128a033f80ae46b02ee39b13e66bb50d7bdbe
parent3cfc8bc9f3f54ddcb60c4d19db5f7e14b294455e (diff)
downloadbarebox-aef5d05100a5e4aed13bb1586bf154ff602ab961.tar.gz
barebox-aef5d05100a5e4aed13bb1586bf154ff602ab961.tar.xz
barebox-imd: add dependency on generated/compile.h also for PBL version
Barebox-imd is also used in the PBL. As the object file names are different for the PBL, the explicit dependency on generated/compile.h wasn't there. This leads to random build failures in parallel builds, or worse the PBL picking up the old compile.h defines from an earlier build. Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r--common/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/Makefile b/common/Makefile
index a36ae5e91f..869b15a92a 100644
--- a/common/Makefile
+++ b/common/Makefile
@@ -86,6 +86,7 @@ endif
# dependencies on generated files need to be listed explicitly
$(obj)/version.o: include/generated/compile.h
$(obj)/imd-barebox.o: include/generated/compile.h
+$(obj)/pbl-imd-barebox.o: include/generated/compile.h
# compile.h changes depending on hostname, generation number, etc,
# so we regenerate it always.