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>
This commit is contained in:
parent
3cfc8bc9f3
commit
aef5d05100
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue