aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMichal Marek <mmarek@suse.cz>2011-08-10 07:10:20 -0400
committerMichal Marek <mmarek@suse.cz>2011-08-10 07:16:49 -0400
commitf4b129f519f1bbd191dca2bf17d1137edf941fd1 (patch)
treebb3a709caf9b5976daf701aa0a837cf5916b3d23 /Makefile
parent322a8b034003c0d46d39af85bf24fee27b902f48 (diff)
kbuild: Do not delete empty files in make distclean
Commit 3d64b44 introduced an empty file under arch/arm/mach-zynq/board_dt.c. While this was not intended and the file was removed from the tree by a later commit, we really should only match junk files by known name patterns and not their size. Reported-by: David Howells <dhowells@redhat.com> Signed-off-by: Michal Marek <mmarek@suse.cz>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index b4ca4e111c9a..d714838d0a3a 100644
--- a/Makefile
+++ b/Makefile
@@ -1198,7 +1198,7 @@ distclean: mrproper
1198 @find $(srctree) $(RCS_FIND_IGNORE) \ 1198 @find $(srctree) $(RCS_FIND_IGNORE) \
1199 \( -name '*.orig' -o -name '*.rej' -o -name '*~' \ 1199 \( -name '*.orig' -o -name '*.rej' -o -name '*~' \
1200 -o -name '*.bak' -o -name '#*#' -o -name '.*.orig' \ 1200 -o -name '*.bak' -o -name '#*#' -o -name '.*.orig' \
1201 -o -name '.*.rej' -o -size 0 \ 1201 -o -name '.*.rej' \
1202 -o -name '*%' -o -name '.*.cmd' -o -name 'core' \) \ 1202 -o -name '*%' -o -name '.*.cmd' -o -name 'core' \) \
1203 -type f -print | xargs rm -f 1203 -type f -print | xargs rm -f
1204 1204