scripts/tags.sh: include arch/Kconfig* for tags generation
authorHou Tao <houtao1@huawei.com>
Wed, 22 Feb 2017 23:40:29 +0000 (15:40 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 23 Feb 2017 00:41:26 +0000 (16:41 -0800)
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>
scripts/tags.sh

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