Re: [PATCH] tags: fix config symbols generation
From: Pete Wyckoff
Date: Fri Feb 06 2009 - 10:19:32 EST
adobriyan@xxxxxxxxx wrote on Thu, 29 Jan 2009 13:26 +0300:
> 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@xxxxxxxxx>
> ---
>
> scripts/tags.sh | 5 ++++-
> 1 file changed, 4 insertions(+), 1 deletion(-)
>
> --- a/scripts/tags.sh
> +++ b/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()
Yes, this is necessary. It fixes the problem introduced by
4f628248a578585472e19e4cba2c604643af8c6c (kbuild: reintroduce
ALLSOURCE_ARCHS support for tags/cscope).
Tested-by: Pete Wyckoff <pw@xxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/