* [PATCH] kbuild: remove unneeded patterns from distclean
@ 2019-05-24 7:10 Masahiro Yamada
2019-05-28 8:12 ` Sascha Hauer
0 siblings, 1 reply; 2+ messages in thread
From: Masahiro Yamada @ 2019-05-24 7:10 UTC (permalink / raw)
To: barebox
Drop the following patterns based on Linux.
[1] -size 0
Linux commit f4b129f519f1bbd191dca2bf17d1137edf941fd1
[2] '.*.cmd'
Linux commit a03fcb50e816a69acffb13b5e56db75063aeba8a
[3] (second) '.*.orig' '.*.rej'
Linux commit f78271dfb77353c4d045f9735deebe21839fb2ed
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
---
Makefile | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/Makefile b/Makefile
index 29347b678..1027ceceb 100644
--- a/Makefile
+++ b/Makefile
@@ -1020,9 +1020,8 @@ PHONY += distclean
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 -size 0 \
- -o -name '*%' -o -name '.*.cmd' -o -name 'core' \) \
+ -o -name '*.bak' -o -name '#*#' -o -name '*%' \
+ -o -name 'core' \) \
-type f -print | xargs rm -f
--
2.17.1
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-05-28 8:12 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-24 7:10 [PATCH] kbuild: remove unneeded patterns from distclean Masahiro Yamada
2019-05-28 8:12 ` Sascha Hauer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox