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 <[email protected]>
---

 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
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox

Reply via email to