From: Masahiro Yamada Date: Sun, 22 Jan 2017 14:02:32 +0000 (+0900) Subject: kbuild: drop unneeded patterns '.*.orig' and '.*.rej' from distclean X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=f78271dfb77353c4d045f9735deebe21839fb2ed;p=openwrt%2Fstaging%2Fblogic.git kbuild: drop unneeded patterns '.*.orig' and '.*.rej' from distclean The patterns '.*.orig' and '.*.rej' are cleaned away by '*.orig' and '*.rej' seen two lines above. Signed-off-by: Masahiro Yamada --- diff --git a/Makefile b/Makefile index faa9d263cfe3..515aeea7e702 100644 --- a/Makefile +++ b/Makefile @@ -1315,8 +1315,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 -name '*%' -o -name 'core' \) \ + -o -name '*.bak' -o -name '#*#' -o -name '*%' \ + -o -name 'core' \) \ -type f -print | xargs rm -f