* [PATCH] script: dtc: clean generated files
@ 2012-08-27 22:58 Magnus Damm
0 siblings, 0 replies; only message in thread
From: Magnus Damm @ 2012-08-27 22:58 UTC (permalink / raw)
To: linux-kernel; +Cc: mmarek, Magnus Damm, swarren, arnd, balbi
From: Magnus Damm <damm@opensource.se>
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: Magnus Damm <damm@opensource.se>
---
scripts/dtc/Makefile | 2 ++
1 file changed, 2 insertions(+)
--- 0001/scripts/dtc/Makefile
+++ work/scripts/dtc/Makefile 2012-08-28 07:45:25.000000000 +0900
@@ -27,3 +27,5 @@ HOSTCFLAGS_dtc-parser.tab.o := $(HOSTCFL
# 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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2012-08-27 22:56 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-27 22:58 [PATCH] script: dtc: clean generated files Magnus Damm
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox