summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.m@jp.panasonic.com>2014-03-28 16:36:12 +0900
committerMichal Marek <mmarek@suse.cz>2014-03-31 22:36:11 +0200
commita03fcb50e816a69acffb13b5e56db75063aeba8a (patch)
tree104bf235ea199e93fc4771a1f2f77b8f8a50855a /Makefile
parent13338935f1574a2dcd1c891461b0dcc42f8cff42 (diff)
downloadlinux-a03fcb50e816a69acffb13b5e56db75063aeba8a.tar.gz
linux-a03fcb50e816a69acffb13b5e56db75063aeba8a.tar.bz2
linux-a03fcb50e816a69acffb13b5e56db75063aeba8a.zip
kbuild: remove redundant '.*.cmd' pattern from make distclean
'.*.cmd' files are cleaned-up by "make clean". The same pattern in "make distclean" is unnecessary. Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com> Signed-off-by: Michal Marek <mmarek@suse.cz>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index aae58aad01c5..cea64d277457 100644
--- a/Makefile
+++ b/Makefile
@@ -1109,8 +1109,7 @@ 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 '.*.cmd' -o -name 'core' \) \
+ -o -name '.*.rej' -o -name '*%' -o -name 'core' \) \
-type f -print | xargs rm -f