summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFernando Luis Vázquez Cao <fernando@oss.ntt.co.jp>2011-12-12 04:17:21 +0100
committerMichal Marek <mmarek@suse.cz>2012-01-08 14:48:15 +0100
commit603d8c0adb0f7576f92fc435c69be9406dc60762 (patch)
treece8f940c916e76968e4e1cde38de73d9f01d58bc
parentkbuild: Correctly deal with make options which contain an "s" (diff)
downloadlinux-603d8c0adb0f7576f92fc435c69be9406dc60762.tar.xz
linux-603d8c0adb0f7576f92fc435c69be9406dc60762.zip
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. Signed-off-by: Fernando Luis Vazquez Cao<fernando@oss.ntt.co.jp> Signed-off-by: Michal Marek <mmarek@suse.cz>
-rw-r--r--scripts/genksyms/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/genksyms/Makefile b/scripts/genksyms/Makefile
index a5510903e874..aca33b98bf63 100644
--- a/scripts/genksyms/Makefile
+++ b/scripts/genksyms/Makefile
@@ -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