[PATCH] scripts/genksyms: clean lex/yacc generated files

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxx>
---

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 +0900
@@ -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

--
To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux&nblp;USB Development]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite Secrets]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux