diff options
author | Tom Rini <trini@konsulko.com> | 2024-05-14 07:46:33 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2024-05-14 07:46:33 -0600 |
commit | e7992828adcd5fad75bce9e6c41dfa9277ab93b0 (patch) | |
tree | dcb6356b6af294979f388c78c6821a63c91d3275 /scripts/gen_compile_commands.py | |
parent | c67199962b2a819a4b0ae8d57dc68b7cadee0c9e (diff) | |
parent | 42826664e4452304bdadc909d7c5f791d4abc552 (diff) |
Merge branch '2024-05-13-assorted-updates' into next
- A few zfs fixes, ARMv8 timer cleanups, support more algorithms with
the nuvoton crypto driver, virtio + env in filesystem fix, K3 code
cleanup and warning fix in gen_compile_commands.
Diffstat (limited to 'scripts/gen_compile_commands.py')
-rwxr-xr-x | scripts/gen_compile_commands.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/gen_compile_commands.py b/scripts/gen_compile_commands.py index fec513e5547..e746adddd92 100755 --- a/scripts/gen_compile_commands.py +++ b/scripts/gen_compile_commands.py @@ -172,7 +172,7 @@ def process_line(root_directory, command_prefix, file_path): # escape the pound sign '#', either as '\#' or '$(pound)' (depending on the # kernel version). The compile_commands.json file is not interepreted # by Make, so this code replaces the escaped version with '#'. - prefix = command_prefix.replace('\#', '#').replace('$(pound)', '#') + prefix = command_prefix.replace(r'\#', '#').replace('$(pound)', '#') # Return the canonical path, eliminating any symbolic links encountered in the path. abs_path = os.path.realpath(os.path.join(root_directory, file_path)) |