summaryrefslogtreecommitdiff
path: root/scripts/basic
diff options
context:
space:
mode:
authorSergei Litvin <litvindev@gmail.com>2026-07-14 10:33:31 +0200
committerNicolas Schier <nsc@kernel.org>2026-08-05 14:31:54 +0200
commita9b93c34625a27bed5dc0f80ee2a359ceb955172 (patch)
treeb0d843c3f0db4b7ae94523c9bd2f525ff9a28076 /scripts/basic
parentb5baf915301851490b9f5804444d96ffd83e7644 (diff)
downloadlinux-a9b93c34625a27bed5dc0f80ee2a359ceb955172.tar.gz
linux-a9b93c34625a27bed5dc0f80ee2a359ceb955172.zip
scripts/tags.sh: Prevent binary files appearing in cscope.files
When executing the command `make COMPILED_SOURCE=1 cscope`, the resulting `cscope.files` file contains filenames with the extensions *.rlib, *.rmeta, and *.so. To fix this, modify the regular expression in the `all_compiled_sources()` function so that only files with the extensions *.h, *.c, *.S, and *.rs are accepted. The issue has been introduced by commit 4f491bb6ea2a ("scripts/tags.sh: collect compiled source precisely") which implemented the parsing of compiled sources from *.cmd files instead of using the "find" command. Fixes: 4f491bb6ea2a ("scripts/tags.sh: collect compiled source precisely") Signed-off-by: Sergei Litvin <litvindev@gmail.com> Acked-by: Miguel Ojeda <ojeda@kernel.org> Tested-by: Nicolas Schier <n.schier@fritz.com> Reviewed-by: Nicolas Schier <n.schier@fritz.com> Link: https://patch.msgid.link/20260714083331.69482-1-litvindev@gmail.com [nsc: cleaned-up commit message line breaks and removed cc trailers] Signed-off-by: Nicolas Schier <nsc@kernel.org>
Diffstat (limited to 'scripts/basic')
0 files changed, 0 insertions, 0 deletions