kbuild: cscope - filter out .tmp_* in find_sources

remove .tmp_kallsyms*.S in cscope.files

Signed-off-by: Yinghai Lu <yinghai.lu@sun.com>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
This commit is contained in:
Yinghai Lu 2007-10-17 16:43:39 -07:00 committed by Sam Ravnborg
parent 347d12d727
commit 37ab7a2696

View File

@ -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