mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
kbuild: clean up *.lex.c and *.tab.[ch] patterns from top-level Makefile
Files suffixed by .lex.c, .tab.[ch] are generated lexers, parsers, respectively. Clean them up globally from the top Makefile. Some of the final host programs those lexer/parser are linked into are necessary for building external modules, but the intermediates are unneeded. They can be cleaned away by 'make clean' instead of 'make mrproper'. Signed-off-by: Masahiro Yamada <[email protected]> Acked-by: Frank Rowand <[email protected]>
This commit is contained in:
parent
5988930027
commit
9a8dfb394c
4 changed files with 4 additions and 7 deletions
|
|
@ -11,5 +11,3 @@ HOSTCFLAGS_lex.lex.o := -I$(src)
|
|||
|
||||
# dependencies on generated files need to be listed explicitly
|
||||
$(obj)/lex.lex.o: $(obj)/parse.tab.h
|
||||
|
||||
clean-files := lex.lex.c parse.tab.c parse.tab.h
|
||||
|
|
|
|||
Loading…
Reference in a new issue