From 702889bde5623462d76974f79ddf662c2a7150ea Mon Sep 17 00:00:00 2001 From: Joel Stanley Date: Wed, 29 Nov 2017 17:40:53 +1030 Subject: Makefile: Rename dtb targets I don't see the need for the .tmp extension anymore. Signed-off-by: Joel Stanley --- Makefile.am | 8 +++++--- 1 file 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 -- cgit v1.2.1