summaryrefslogtreecommitdiffstats
path: root/scripts/dtc/Makefile
diff options
context:
space:
mode:
authorMagnus Damm <damm@opensource.se>2012-11-16 07:53:14 +0100
committerGrant Likely <grant.likely@secretlab.ca>2012-11-21 16:53:22 +0100
commit4f3be1cfa8422c93271dcdb59f223f6c84c70804 (patch)
tree374ffda063b51b304604942e7b4c7f3beb8d874a /scripts/dtc/Makefile
parentDocumentation: Move common leds properties description to separate file. (diff)
downloadlinux-4f3be1cfa8422c93271dcdb59f223f6c84c70804.tar.xz
linux-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/dtc/Makefile')
-rw-r--r--scripts/dtc/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/dtc/Makefile b/scripts/dtc/Makefile
index 6d1c6bb9f224..2a48022c41e7 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