diff options
author | Coywolf Qi Hunt <coywolf@greatcn.org> | 2004-06-26 20:54:56 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2004-06-26 20:54:56 -0700 |
commit | dd47df980c02eb33833b2690b033c34fba2fa80d (patch) | |
tree | 86e68aab5e1e252574bf67e54b98ef928c78f574 /Makefile | |
parent | 0a62b8cf8a14fd064e63b7c4ac638af56fc0957a (diff) | |
download | history-dd47df980c02eb33833b2690b033c34fba2fa80d.tar.gz |
[PATCH] kbuild: distclean srctree fix
I just find a bug that ``make distclean'' cannot remove the editor backup
files and the like when using build directory. That is because the find
command is improperly searching the build directory instead of the
$(srctree) it should.
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile index c5de2e3273d4c..e133b01b69cd3 100644 --- a/Makefile +++ b/Makefile @@ -869,7 +869,7 @@ mrproper: clean archmrproper $(mrproper-dirs) .PHONY: distclean distclean: mrproper - @find . $(RCS_FIND_IGNORE) \ + @find $(srctree) $(RCS_FIND_IGNORE) \ \( -name '*.orig' -o -name '*.rej' -o -name '*~' \ -o -name '*.bak' -o -name '#*#' -o -name '.*.orig' \ -o -name '.*.rej' -o -size 0 \ |