summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2017-01-22 15:02:32 +0100
committerMasahiro Yamada <yamada.masahiro@socionext.com>2017-03-14 17:26:41 +0100
commitf78271dfb77353c4d045f9735deebe21839fb2ed (patch)
treee59b09cfa4bcf48064404585b1d55f946fd0ba80 /Makefile
parentKbuild: fix file name in comment about extra gcc checks (diff)
downloadlinux-f78271dfb77353c4d045f9735deebe21839fb2ed.tar.xz
linux-f78271dfb77353c4d045f9735deebe21839fb2ed.zip
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