summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Stanley <joel@jms.id.au>2017-11-29 17:40:53 +1030
committerAlistair Popple <alistair@popple.id.au>2017-12-08 11:22:09 +1100
commit702889bde5623462d76974f79ddf662c2a7150ea (patch)
tree163080b9b92c25ab59ba883f751072d5eeb2e2b9
parent81957b54c1b6675d56738271795ae182a182e036 (diff)
downloadpdbg-702889bde5623462d76974f79ddf662c2a7150ea.tar.gz
pdbg-702889bde5623462d76974f79ddf662c2a7150ea.zip
Makefile: Rename dtb targets
I don't see the need for the .tmp extension anymore. Signed-off-by: Joel Stanley <joel@jms.id.au>
-rw-r--r--Makefile.am8
1 files changed, 5 insertions, 3 deletions
diff --git a/Makefile.am b/Makefile.am
index f47146f..6d805e3 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -61,8 +61,10 @@ 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
-%.dtb.o.tmp: %.dts
+%.dtb: %.dts
dtc -i$(dir $@) -I dts $< -O dtb > $@
-%.dtb.o: %.dtb.o.tmp
- $(CC) -c $(top_srcdir)/template.S -DSYMBOL_PREFIX=$(shell echo $@ | tr '.-' '_') -DFILENAME=\"$@.tmp\" -o $@
+%.dtb.o: %.dtb
+ $(CC) -c $(srcdir)/template.S -DSYMBOL_PREFIX=$(shell echo $@ | tr '.-' '_') -DFILENAME=\"$<\" -o $@
+
+MOSTLYCLEANFILES = *.dtb
OpenPOWER on IntegriCloud