[PATCH] kbuild: filter out .tmp_* in find_sources

From: Yinghai Lu
Date: Wed Oct 17 2007 - 19:43:39 EST


[PATCH] kbuild: filter out .tmp_* in find_sources

remove .tmp_kallsyms*.S in cscope.files

Signed-off-by: Yinghai Lu <yinghai.lu@xxxxxxx>

diff --git a/Makefile b/Makefile
index 529b904..a793511 100644
--- a/Makefile
+++ b/Makefile
@@ -1341,7 +1341,7 @@ define find-sources
find $(__srctree)include/asm-generic $(RCS_FIND_IGNORE) \
-name $1 -print; \
find $(__srctree) $(RCS_FIND_IGNORE) \
- \( -name include -o -name arch \) -prune -o \
+ \( -name include -o -name arch -o -name '.tmp_*' \) -prune -o \
-name $1 -print; \
)
endef
-
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/