summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Stanley <joel@jms.id.au>2017-12-08 14:41:37 +1030
committerAlistair Popple <alistair@popple.id.au>2017-12-11 17:33:12 +1100
commit404cf344dc13b11b333f060e8c0ca7e552f11d81 (patch)
tree77e2784ffdca5b6b3234195377c314822f4262d6
parent5b65a68d47e452b875b4aa59a4924a719129136a (diff)
downloadpdbg-404cf344dc13b11b333f060e8c0ca7e552f11d81.tar.gz
pdbg-404cf344dc13b11b333f060e8c0ca7e552f11d81.zip
Makefile: Fix dts dependencies
When the dtb targets were split out into two separate rules, the dependencies should have been modified. Without this the creation of dtsi can race the dtc step and the build fails. Fixes: 81957b54c1b6 ("Makefile: seperate out dtb building steps") Signed-off-by: Joel Stanley <joel at jms.id.au>
-rw-r--r--Makefile.am6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile.am b/Makefile.am
index 38a66c4..3c266d2 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -66,9 +66,9 @@ DTC_V_0 = @echo " DTC " $@;
%.dtsi: %.dtsi.m4
$(M4_V)m4 -I$(dir $<) $< > $@
-p9w-fsi.dtb.o: p9w-fsi.dts p9-fsi.dtsi
-p9r-fsi.dtb.o: p9r-fsi.dts p9-fsi.dtsi
-p9z-fsi.dtb.o: p9z-fsi.dts p9-fsi.dtsi
+p9w-fsi.dtb: p9w-fsi.dts p9-fsi.dtsi
+p9r-fsi.dtb: p9r-fsi.dts p9-fsi.dtsi
+p9z-fsi.dtb: p9z-fsi.dts p9-fsi.dtsi
%.dtb: %.dts
$(DTC_V)dtc -q -i$(dir $@) -I dts $< -O dtb > $@
OpenPOWER on IntegriCloud