]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
gen_compile_commands: Ignore libgcc.a
authorThomas Weißschuh <linux@weissschuh.net>
Mon, 27 Apr 2026 16:04:56 +0000 (18:04 +0200)
committerShuah Khan <skhan@linuxfoundation.org>
Mon, 4 May 2026 19:12:55 +0000 (13:12 -0600)
commit51fa14ab9705f52f63ca4b26e3fa66c2c93ea15a
tree04f7313f0cacae731765ae73c7ff1d43fb5109e3
parent254f49634ee16a731174d2ae34bc50bd5f45e731
gen_compile_commands: Ignore libgcc.a

Some architectures link libgcc.a from the toolchain into the kernel.
gen_compile_commands trie to read the kbuild .cmd files of its
constituent object files, which are not available.

Flat out ignore libgcc.a, as it is not built as part of the kernel
anyways.

Link: https://lore.kernel.org/r/20260427-kunit-or1k-v1-1-9d3109e991e8@weissschuh.net
Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Acked-by: Nathan Chancellor <nathan@kernel.org>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
scripts/clang-tools/gen_compile_commands.py