mbox series

[v2,0/6] Port gen_compile_commands.py from Linux to U-Boot

Message ID 20230901200353.90290-1-jmcosta944@gmail.com
Headers show
Series Port gen_compile_commands.py from Linux to U-Boot | expand

Message

João Marcos Costa Sept. 1, 2023, 8:03 p.m. UTC
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 file for improved code navigation
and analysis. The series consists of six patches: the initial script
import and the necessary modifications for U-Boot compatibility.

Your feedback on these contributions would be greatly appreciated.

Best regards,

Changes in v2:
- Add compile_commands.json to gitignore
- Add documentation

Joao Marcos Costa (6):
  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
  .gitignore: add compile_commands.json
  doc: add documentation for gen_compile_commands.py

 .gitignore                           |   3 +
 doc/develop/gen_compile_commands.rst |  46 ++++++
 scripts/gen_compile_commands.py      | 230 +++++++++++++++++++++++++++
 3 files changed, 279 insertions(+)
 create mode 100644 doc/develop/gen_compile_commands.rst
 create mode 100755 scripts/gen_compile_commands.py