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

From: Coywolf Qi Hunt
Date: Fri Jun 25 2004 - 00:53:05 EST


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

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/