kbuild: cscope - filter out .tmp_* in find_sources
authorYinghai Lu <Yinghai.Lu@Sun.COM>
Wed, 17 Oct 2007 23:43:39 +0000 (16:43 -0700)
committerSam Ravnborg <sam@neptun.(none)>
Thu, 18 Oct 2007 11:35:49 +0000 (13:35 +0200)
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 feca34c26145a8eb3b354cedf2e311fb1061279e..e8ace82e334f2ad56f73ade1a4b9126ed2a270a2 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