scripts/genksyms: clean lex/yacc generated files
PATCH 1/1 scripts/genksyms: clean lex/yacc generated files
Add "keywords.hash.c", "lex.lex.c", "parse.tab.c" and "parse.tab.h" to clean-list so that they get automagically deleted at clean/mrproper time.
---
scripts/genksyms/Makefile +1 -0
@@ -11,3 +11,4 @@ HOSTCFLAGS_lex.lex.o := -I$(src) # dependencies on generated files need to be listed explicitly $(obj)/lex.lex.o: $(obj)/keywords.hash.c $(obj)/parse.tab.h +clean-files := keywords.hash.c lex.lex.c parse.tab.c parse.tab.h
ping
Quoted 18 lines · Fernando Luis Vázquez Cao
Add "
keywords.hash.c", "lex.lex.c", "parse.tab.c" and "parse.tab.h" to clean-list so that they get automagically deleted at clean/mrproper time.Signed-off-by Fernando Luis Vazquez Cao<[email protected]>---
diff -urNp linux-3.2-rc4-orig/scripts/genksyms/Makefile linux-3.2-rc4/scripts/genksyms/Makefile
--- linux-3.2-rc4-orig/scripts/genksyms/Makefile 2011-10-24
16:10:05.000000000 +0900
+++ linux-3.2-rc4/scripts/genksyms/Makefile 2011-12-12
11:37:29.159986580 +0900scripts/genksyms/Makefile +1
-0@@ -11,3 +11,4 @@ HOSTCFLAGS_lex.lex.o := -I$(src) # dependencies on generated files need to be listed explicitly $(obj)/lex.lex.o: $(obj)/keywords.hash.c $(obj)/parse.tab.h +clean-files := keywords.hash.c lex.lex.c parse.tab.c parse.tab.h
Michal Marek
AppliedQuoted 6 lines · Fernando Luis Vázquez Cao
Add "
keywords.hash.c", "lex.lex.c", "parse.tab.c" and "parse.tab.h" to clean-list so that they get automagically deleted at clean/mrproper time.Signed-off-by Fernando Luis Vazquez Cao<[email protected]>---
Applied, thanks.
Michal