scripts/tags.sh: include arch/Kconfig* for tags generation

Kconfig files under arch/ directory are ignored by all_kconfigs(),
so include them for tags generation.

Link: http://lkml.kernel.org/r/1486206053-38223-1-git-send-email-houtao1@huawei.com
Signed-off-by: Hou Tao <houtao1@huawei.com>
Cc: Michal Marek <mmarek@suse.com>
Cc: Joe Perches <joe@perches.com>
Cc: Mathieu Maret <mathieu.maret@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
Hou Tao 2017-02-22 15:40:29 -08:00 committed by Linus Torvalds
parent 8087a5609d
commit 7659c655be

View File

@ -128,6 +128,8 @@ all_target_sources()
all_kconfigs() all_kconfigs()
{ {
find ${tree}arch/ -maxdepth 1 $ignore \
-name "Kconfig*" -not -type l -print;
for arch in $ALLSOURCE_ARCHS; do for arch in $ALLSOURCE_ARCHS; do
find_sources $arch 'Kconfig*' find_sources $arch 'Kconfig*'
done done