]> git.baikalelectronics.ru Git - kernel.git/commit
scripts/tags.sh: exclude tools directory from tags generation
authorRustam Kovhaev <rkovhaev@gmail.com>
Mon, 10 Aug 2020 15:36:50 +0000 (08:36 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 7 Sep 2020 13:34:03 +0000 (15:34 +0200)
commita19d9998ac6e0cc277633718bedd146fabe0bde8
tree47b86cb7817315f2c3a84fd35226079d2a39ecdd
parenta0dd347d4d7f85afe0b88030294df6129c2aa4b2
scripts/tags.sh: exclude tools directory from tags generation

when COMPILED_SOURCE is set, running 'make ARCH=x86_64 COMPILED_SOURCE=1
cscope tags' in KBUILD_OUTPUT directory produces lots of "No such file
or directory" warnings:
...
realpath: sigchain.h: No such file or directory
realpath: orc_gen.c: No such file or directory
realpath: objtool.c: No such file or directory
...
let's exclude tools directory from tags generation

Fixes: fcbf155b47c5 ("scripts/tags.sh: collect compiled source precisely")
Link: https://lore.kernel.org/lkml/20200809210056.GA1344537@thinkpad
Signed-off-by: Rustam Kovhaev <rkovhaev@gmail.com>
Link: https://lore.kernel.org/r/20200810153650.1822316-1-rkovhaev@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
scripts/tags.sh