[PATCH] (2.6.7-mm2) kbuild distclean srctree fix ii

Coywolf Qi Hunt
2004-06-25T05:51:51Z

Hello Andrew,

You've changed a wrong line. There's several ``@find .
$(RCS_FIND_IGNORE)'' in Makefile.
You want the line about 24 lines below. Please apply this patch to
re-fix it.
http://greatcn.org/~coywolf/patches/2.6/kbuild-distclean-srctree-fix-ii.patch

coywolf
===============================================================

--- linux-2.6.7-mm2/Makefile 2004-06-24 22:16:08.000000000 -0500
+++ linux-2.6.7-mm2-cy/Makefile 2004-06-25 00:13:55.885753597 -0500
@@ -866,7 +866,7 @@ $(clean-dirs):
clean: archclean $(clean-dirs)
$(call cmd,rmdirs)
$(call cmd,rmfiles)
- @find $(srctree) $(RCS_FIND_IGNORE) \
+ @find . $(RCS_FIND_IGNORE) \
\( -name '*.[oas]' -o -name '*.ko' -o -name '.*.cmd' \
-o -name '.*.d' -o -name '.*.tmp' -o -name '*.mod.c' \) \
-type f -print | xargs rm -f
@@ -890,7 +890,7 @@ mrproper: clean archmrproper $(mrproper-
.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 \

--
Coywolf Qi Hunt
Admin of http://GreatCN.org and http://LoveCN.org