]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - Makefile
[PATCH] kbuild: fix make clean damaging hg repos
[linux-2.6-omap-h63xx.git] / Makefile
index 3d84df581cf23c287cff7a816c79afd3ec049c42..2d68adbcfa28d43583ae0e12fbe3fef9a4d79d6a 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -374,8 +374,8 @@ depfile = $(subst $(comma),_,$(@D)/.$(@F).d)
 
 # Files to ignore in find ... statements
 
-RCS_FIND_IGNORE := \( -name SCCS -o -name BitKeeper -o -name .svn -o -name CVS -o -name .pc \) -prune -o
-RCS_TAR_IGNORE := --exclude SCCS --exclude BitKeeper --exclude .svn --exclude CVS --exclude .pc
+RCS_FIND_IGNORE := \( -name SCCS -o -name BitKeeper -o -name .svn -o -name CVS -o -name .pc -o -name .hg \) -prune -o
+RCS_TAR_IGNORE := --exclude SCCS --exclude BitKeeper --exclude .svn --exclude CVS --exclude .pc --exclude .hg
 
 # ===========================================================================
 # Rules shared between *config targets and build targets