mirror of
https://github.com/opnsense/src.git
synced 2026-02-20 00:11:07 -05:00
[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
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue