[1/1] tags: fix config symbols generation
diff mbox

Message ID 200902112124.n1BLO9qK027146@imap1.linux-foundation.org
State New, archived
Headers show

Commit Message

Andrew Morton Feb. 11, 2009, 9:24 p.m. UTC
From: Alexey Dobriyan <adobriyan@gmail.com>

commit 4f628248a578585472e19e4cba2c604643af8c6c aka "kbuild: reintroduce
ALLSOURCE_ARCHS support for tags/cscope" breaks tags generation for
Kconfig symbols.

Steps to reproduce:

	make tags
	vi -t PROC_FS

It should jump to 'config PROC_FS' line.

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Cc: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 scripts/tags.sh |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

Patch
diff mbox

diff -puN scripts/tags.sh~tags-fix-config-symbols-generation scripts/tags.sh
--- a/scripts/tags.sh~tags-fix-config-symbols-generation
+++ a/scripts/tags.sh
@@ -76,7 +76,10 @@  all_sources()
 
 all_kconfigs()
 {
-	find_sources $ALLSOURCE_ARCHS 'Kconfig*'
+	for arch in $ALLSOURCE_ARCHS; do
+		find_sources $arch 'Kconfig*'
+	done
+	find_other_sources 'Kconfig*'
 }
 
 all_defconfigs()