diff options
author | Mark Brown <broonie@kernel.org> | 2023-07-23 23:32:05 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2023-07-23 23:32:05 +0100 |
commit | 1477c794c771be0a873a41421812e7274717dcd1 (patch) | |
tree | e2d4e4971640d2af647741ce94acb411f9594123 /scripts/clang-tools/gen_compile_commands.py | |
parent | 0e4c2b6b0c4a4b4014d9424c27e5e79d185229c5 (diff) | |
parent | 6eaae198076080886b9e7d57f4ae06fa782f90ef (diff) |
ASoC: Merge up fixes from mainline
There's several things here that will really help my CI.
Diffstat (limited to 'scripts/clang-tools/gen_compile_commands.py')
-rwxr-xr-x | scripts/clang-tools/gen_compile_commands.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/clang-tools/gen_compile_commands.py b/scripts/clang-tools/gen_compile_commands.py index 15ba56527acd..a84cc5737c2c 100755 --- a/scripts/clang-tools/gen_compile_commands.py +++ b/scripts/clang-tools/gen_compile_commands.py @@ -19,7 +19,7 @@ _DEFAULT_OUTPUT = 'compile_commands.json' _DEFAULT_LOG_LEVEL = 'WARNING' _FILENAME_PATTERN = r'^\..*\.cmd$' -_LINE_PATTERN = r'^savedcmd_[^ ]*\.o := (.* )([^ ]*\.c) *(;|$)' +_LINE_PATTERN = r'^savedcmd_[^ ]*\.o := (.* )([^ ]*\.[cS]) *(;|$)' _VALID_LOG_LEVELS = ['DEBUG', 'INFO', 'WARNING', 'ERROR', 'CRITICAL'] # The tools/ directory adopts a different build system, and produces .cmd # files in a different format. Do not support it. |