diff mbox series

Makefile: Include template.S in dependencies

Message ID 20210804000355.956264-1-joel@jms.id.au
State Accepted
Headers show
Series Makefile: Include template.S in dependencies | expand

Commit Message

Joel Stanley Aug. 4, 2021, 12:03 a.m. UTC
Ensure that the devicetree objects are rebuilt when modifying
template.S.

Signed-off-by: Joel Stanley <joel@jms.id.au>
---
 Makefile.am | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/Makefile.am b/Makefile.am
index b0da6e7c4974..da17648f2255 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -320,7 +320,7 @@  p9z-fsi.dts: p9z-fsi.dts.m4 p9-fsi.dtsi
 %.dt.h: %.dts
 	$(GEN_V)$(srcdir)/generate_dt_header.sh $< > $@
 
-%.dtb.S: %.dtb
+%.dtb.S: %.dtb $(srcdir)/template.S
 	$(GEN_V)$(CPP) $(srcdir)/template.S \
 	-DSYMBOL_PREFIX=$(shell basename $< .S | tr '.-' '_')_o -DFILENAME=\"$<\" -o \
 	$@