[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20120827225843.18597.45660.sendpatchset@w520>
Date: Tue, 28 Aug 2012 07:58:43 +0900
From: Magnus Damm <magnus.damm@...il.com>
To: linux-kernel@...r.kernel.org
Cc: mmarek@...e.cz, Magnus Damm <magnus.damm@...il.com>,
swarren@...dia.com, arnd@...db.de, balbi@...com
Subject: [PATCH] script: dtc: clean generated files
From: Magnus Damm <damm@...nsource.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@...nsource.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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists