diff options
author | Masahiro Yamada <yamada.m@jp.panasonic.com> | 2014-03-12 11:36:45 (GMT) |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2014-03-12 21:05:00 (GMT) |
commit | 2e50f6dccb3eeb1a20993c9da73fe355da35cf04 (patch) | |
tree | 5af7b1a99a989a48042e31ba6b4a3461d6bc3f19 /Makefile | |
parent | 37bdf35978b084956fc911ad662b92a6e3ab69af (diff) | |
download | u-boot-2e50f6dccb3eeb1a20993c9da73fe355da35cf04.tar.xz |
kbuild: delete *.pyc files by "make distclean"
The tools "buildman" and "patman" are written in 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@jp.panasonic.com>
Cc: Tom Rini <trini@ti.com>
Acked-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |