[PATCH v1 0/4] Port gen_compile_commands.py from Linux to U-Boot

Yannic Moog Y.Moog at phytec.de
Mon Aug 28 10:09:46 CEST 2023


Hello Joao,

On Sun, 2023-08-20 at 21:04 +0200, Joao Marcos Costa wrote:
> Hello U-Boot community,
> 
> I'm submitting a patch series that ports the gen_compile_commands.py
> script from the Linux kernel's sources to U-Boot. This script,
> originally
> located in scripts/clang-tools/gen_compile_commands.py, enables the
> generation of compile_commands.json files for improved code
> navigation
> and analysis. The series consists of four patches: the initial script
> import and the necessary modifications for U-Boot compatibility.
> 
> Your feedback on these contributions would be greatly appreciated.
> 
> Best regards,
> 
> Joao Marcos Costa (4):
>   scripts: Port Linux's gen_compile_commands.py to U-Boot
>   scripts/gen_compile_commands.py: adapt _LINE_PATTERN
>   scripts/gen_compile_commands.py: fix docstring
>   scripts/gen_compile_commands.py: add acknowledgments

Can you also add a patch to add the compile_commands.json to
.gitignore, please?

Yannic

> 
>  scripts/gen_compile_commands.py | 229
> ++++++++++++++++++++++++++++++++
>  1 file changed, 229 insertions(+)
>  create mode 100755 scripts/gen_compile_commands.py
> 



More information about the U-Boot mailing list