summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2017-01-22 23:02:32 +0900
committerMasahiro Yamada <yamada.masahiro@socionext.com>2017-03-15 01:26:41 +0900
commitf78271dfb77353c4d045f9735deebe21839fb2ed (patch)
treee59b09cfa4bcf48064404585b1d55f946fd0ba80 /Makefile
parent35288e30ebca59effbd44c5976afc71a342e9a85 (diff)
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 <yamada.masahiro@socionext.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
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