Commit 4f3be1cf authored by Magnus Damm's avatar Magnus Damm Committed by Grant Likely

script: dtc: clean generated files

Fix "make distclean" to clean up generated dtc files.

Without this patch the following files are left around:
 - dtc-lexer.lex.c
 - dtc-parser.tab.c
 - dtc-parser.tab.h
Signed-off-by: default avatarMagnus Damm <damm@opensource.se>
Reviewed-by: default avatarSimon Horman <horms@verge.net.au>
Signed-off-by: default avatarGrant Likely <grant.likely@secretlab.ca>
parent 07c12114
......@@ -27,3 +27,5 @@ HOSTCFLAGS_dtc-parser.tab.o := $(HOSTCFLAGS_DTC)
# dependencies on generated files need to be listed explicitly
$(obj)/dtc-lexer.lex.o: $(obj)/dtc-parser.tab.h
# generated files need to be cleaned explicitly
clean-files := dtc-lexer.lex.c dtc-parser.tab.c dtc-parser.tab.h
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment