kbuild: cscope - filter out .tmp_* in find_sources
Yinghai Lu [Wed, 17 Oct 2007 23:43:39 +0000 (16:43 -0700)]
remove .tmp_kallsyms*.S in cscope.files

Signed-off-by: Yinghai Lu <yinghai.lu@sun.com>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>

Makefile

index feca34c..e8ace82 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1351,7 +1351,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