Commit f78271df authored by Masahiro Yamada's avatar Masahiro Yamada

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: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
parent 35288e30
...@@ -1315,8 +1315,8 @@ PHONY += distclean ...@@ -1315,8 +1315,8 @@ PHONY += distclean
distclean: mrproper distclean: mrproper
@find $(srctree) $(RCS_FIND_IGNORE) \ @find $(srctree) $(RCS_FIND_IGNORE) \
\( -name '*.orig' -o -name '*.rej' -o -name '*~' \ \( -name '*.orig' -o -name '*.rej' -o -name '*~' \
-o -name '*.bak' -o -name '#*#' -o -name '.*.orig' \ -o -name '*.bak' -o -name '#*#' -o -name '*%' \
-o -name '.*.rej' -o -name '*%' -o -name 'core' \) \ -o -name 'core' \) \
-type f -print | xargs rm -f -type f -print | xargs rm -f
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment