[dtc] regenerate version file if upstream Makefile has been changed
Keep version file in sync by adding dependency to upstream Makefile
This commit is contained in:
parent
b718842baa
commit
dc17dead6f
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=315010
@ -34,7 +34,7 @@ OBJS+= dtc-parser.tab.o dtc-lexer.lex.o
|
||||
CLEANFILES+= dtc-parser.tab.o dtc-lexer.lex.o dtc-parser.tab.c \
|
||||
dtc-parser.tab.h dtc-lexer.lex.c ${DTCVERSIONFILE}
|
||||
|
||||
${DTCVERSIONFILE}:
|
||||
${DTCVERSIONFILE}: ${DTCDIR}/Makefile
|
||||
@echo '#define DTC_VERSION "DTC ${DTCVERSION}"' > ${DTCVERSIONFILE}
|
||||
|
||||
dtc-parser.tab.o: dtc-parser.tab.c dtc-parser.tab.h
|
||||
|
Loading…
Reference in New Issue
Block a user