[U-Boot] [PATCH] kbuild: delete *.pyc files by "make distclean"
Masahiro Yamada
yamada.m at jp.panasonic.com
Tue Mar 11 11:30:51 CET 2014
The tools "buildman" and "patman" are written Python.
When we run them, "*.pyc" files are created under
tools/buildman, tools/patman directories.
They should be cleaned up by "make distclean".
Signed-off-by: Masahiro Yamada <yamada.m at jp.panasonic.com>
Cc: Simon Glass <sjg at chromium.org>
Cc: Tom Rini <trini at ti.com>
---
Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index c8d5ccc..538c3bf 100644
--- a/Makefile
+++ b/Makefile
@@ -1228,7 +1228,7 @@ distclean: mrproper
@find $(srctree) $(RCS_FIND_IGNORE) \
\( -name '*.orig' -o -name '*.rej' -o -name '*~' \
-o -name '*.bak' -o -name '#*#' -o -name '.*.orig' \
- -o -name '.*.rej' \
+ -o -name '.*.rej' -o -name '*.pyc' \
-o -name '*%' -o -name '.*.cmd' -o -name 'core' \) \
-type f -print | xargs rm -f
--
1.8.3.2
More information about the U-Boot
mailing list