Skip to contentSkip to conversation

tags: fix config symbols generation

PATCH In review [email protected] 2 participants 2 messages Feb 11, 2009 – Feb 15, 2009 Kbuild

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tags: fix config symbols generation

From: Alexey Dobriyan <[email protected]>

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.

---

 scripts/tags.sh |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
scripts/tags.sh renamed from scripts/tags.sh~tags-fix-config-symbols-generation +4 -1
diff -puN scripts/tags.sh~tags-fix-config-symbols-generation 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()

_

#1 lore raw
Quoted 8 lines · On Wed, Feb 11, 2009 at 01:24:09PM -0800, [email protected] wrote:

From: Alexey Dobriyan <[email protected]>

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

Steps to reproduce:

Quoted 8 lines

make tags
vi -t PROC_FS

It should jump to 'config PROC_FS' line.

Applied to kbuild-fixes.git

Sam