aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
authorMark Brown <broonie@kernel.org>2026-05-29 23:14:08 +0100
committerMark Brown <broonie@kernel.org>2026-05-29 23:14:08 +0100
commitdc8f2fcaec5cc2dcfed0949ecb1f0b3da263a138 (patch)
tree11e0f8ee99b1a2458d6aab2790bee4426b747a3d /scripts
parent443999b474a41463e49760e4f2ab379614fbb3be (diff)
parent5c1553dd5db306d84d539f84fa184d4694d6d050 (diff)
downloadlinux-next-history-dc8f2fcaec5cc2dcfed0949ecb1f0b3da263a138.tar.gz
Merge branch 'kunit' of https://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest.git
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/clang-tools/gen_compile_commands.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/clang-tools/gen_compile_commands.py b/scripts/clang-tools/gen_compile_commands.py
index 96e6e46ad1a70..8d14b81efd737 100755
--- a/scripts/clang-tools/gen_compile_commands.py
+++ b/scripts/clang-tools/gen_compile_commands.py
@@ -201,6 +201,8 @@ def main():
# Modules are listed in modules.order.
if os.path.isdir(path):
cmdfiles = cmdfiles_in_dir(path)
+ elif os.path.basename(path) == 'libgcc.a':
+ cmdfiles = []
elif path.endswith('.a'):
cmdfiles = cmdfiles_for_a(path, ar)
elif path.endswith('modules.order'):