kbuild: delete *.pyc files by "make distclean"
PATCH v2 1/1 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 <[email protected]>
Cc Simon Glass <[email protected]>
Cc Tom Rini <[email protected]>
Acked-by Simon Glass <[email protected]>
---
Changes in v2:
- This is a minor update, but fixed a typo in commit description s/written Python/written in Python/
Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Makefile +1 -1
@@ -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
Signature · 1 line
1.8.3.2
PATCH v2 1/1 kbuild: delete *.pyc files by "make distclean"
Quoted 10 lines · Masahiro Yamada
The tools "buildman" and "patman" are written in Python. When we run them, "*.pyc" files are created under
tools/buildman,tools/patmandirectories.They should be cleaned up by "make distclean".
Signed-off-by Masahiro Yamada <[email protected]>Cc Simon Glass <[email protected]>Cc Tom Rini <[email protected]>Acked-by Simon Glass <[email protected]>
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20140312/6277a2b8/attachment.pgp>