public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH v2] kbuild: delete *.pyc files by "make distclean"
@ 2014-03-12 11:36 Masahiro Yamada
  2014-03-12 21:07 ` [U-Boot] [U-Boot, " Tom Rini
  0 siblings, 1 reply; 2+ messages in thread
From: Masahiro Yamada @ 2014-03-12 11:36 UTC (permalink / raw)
  To: u-boot

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: Simon Glass <sjg@chromium.org>
Cc: Tom Rini <trini@ti.com>
Acked-by: Simon Glass <sjg@chromium.org>
---

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(-)

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

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [U-Boot] [U-Boot, v2] kbuild: delete *.pyc files by "make distclean"
  2014-03-12 11:36 [U-Boot] [PATCH v2] kbuild: delete *.pyc files by "make distclean" Masahiro Yamada
@ 2014-03-12 21:07 ` Tom Rini
  0 siblings, 0 replies; 2+ messages in thread
From: Tom Rini @ 2014-03-12 21:07 UTC (permalink / raw)
  To: u-boot

On Wed, Mar 12, 2014 at 08:36:45PM +0900, Masahiro Yamada wrote:

> 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: Simon Glass <sjg@chromium.org>
> Cc: Tom Rini <trini@ti.com>
> Acked-by: Simon Glass <sjg@chromium.org>

Applied to u-boot/master, thanks!

-- 
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>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-03-12 21:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-12 11:36 [U-Boot] [PATCH v2] kbuild: delete *.pyc files by "make distclean" Masahiro Yamada
2014-03-12 21:07 ` [U-Boot] [U-Boot, " Tom Rini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox