summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorMagnus Damm <damm@opensource.se>2012-11-16 15:53:14 +0900
committerGrant Likely <grant.likely@secretlab.ca>2012-11-21 15:53:22 +0000
commit4f3be1cfa8422c93271dcdb59f223f6c84c70804 (patch)
tree374ffda063b51b304604942e7b4c7f3beb8d874a /scripts
parent07c121149cb30405b37ceae3cd29e5b6b6e65cc0 (diff)
downloadlinux-3.10-4f3be1cfa8422c93271dcdb59f223f6c84c70804.tar.gz
linux-3.10-4f3be1cfa8422c93271dcdb59f223f6c84c70804.tar.bz2
linux-3.10-4f3be1cfa8422c93271dcdb59f223f6c84c70804.zip
script: dtc: clean generated files
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> Reviewed-by: Simon Horman <horms@verge.net.au> Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/dtc/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/dtc/Makefile b/scripts/dtc/Makefile
index 6d1c6bb9f22..2a48022c41e 100644
--- a/scripts/dtc/Makefile
+++ b/scripts/dtc/Makefile
@@ -27,3 +27,5 @@ HOSTCFLAGS_dtc-parser.tab.o := $(HOSTCFLAGS_DTC)
# 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