Port gen_compile_commands.py from Linux to U-Boot
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v4 Latest8 patches 2 repliesIn review
- v37 patches 4 repliesSuperseded
- v26 patches 3 repliesSuperseded
Earlier versions · 1
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v1 | 4 patches | 5 replies | Superseded |
Changes in v4 from the cover letter
- Replace "Options" section in the doc by "Usage", as it is simply a reference to the script's usage message
- Replace 'kernel' by 'U-Boot' in the usage message
- Replace label by :doc: link
- Instead of adding a chapter about integration with IDEs into doc/build/tools.rst, add a new file (i.e., doc/develop/ide_integration.rst)
- Replace the doc's heading (gen_compile_commands) by 'Create build database for IDEs'
- Add a section listing some of the compatible IDEs and how to set them up Changes in v3:
- Add documentation to index and fix syntax issues
- Add reference to documentation in doc/build/tools
Patches in v4 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/8 | scripts: Port Linux's gen_compile_commands.py to U-Bootscripts/ | +228 | 0 replies | |
| 2/8 | scripts/gen_compile_commands.py: adapt _LINE_PATTERNscripts/ | +1 | 0 replies | |
| 3/8 | scripts/gen_compile_commands.py: fix docstringscripts/ | +1 | 0 replies | |
| 4/8 | scripts/gen_compile_commands.py: add acknowledgmentsscripts/ | +1 | 0 replies | |
| 5/8 | .gitignore: add compile_commands.json.gitignore | +3 | 0 replies | |
| 6/8 | doc: add documentation for gen_compile_commands.pydoc/ doc/ scripts/ | +85 | 0 replies | |
| 7/8 | doc: add ide_integration.rst to doc/developdoc/ doc/ | +13 | 0 replies | |
| 8/8 | scripts/gen_compile_commands: fix usage messagescripts/ | +2 | 0 replies |
Reviews trailers per patch
None of the 8 patches has a Reviewed-by or Acked-by.
| Patch | Joao Paulo Goncalves |
|---|---|
| Series | T-b |
| 1/8 | |
| 2/8 | |
| 3/8 | |
| 4/8 | |
| 5/8 | |
| 6/8 | |
| 7/8 | |
| 8/8 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v4 0/8] Port gen_compile_commands.py from Linux to U-Boot
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 the initial script import, the necessary modifications for U-Boot compatibility, and finally some documentation.
Your feedback on these contributions would be greatly appreciated.
Best regards,
Changes in v4:
- Replace "Options" section in the doc by "Usage", as it is simply a reference to the script's usage message
- Replace 'kernel' by 'U-Boot' in the usage message
- Replace label by :doc: link
- Instead of adding a chapter about integration with IDEs into doc/build/tools.rst, add a new file (i.e., doc/develop/ide_integration.rst)
- Replace the doc's heading (gen_compile_commands) by 'Create build database for IDEs'
- Add a section listing some of the compatible IDEs and how to set them up Changes in v3:
- Add documentation to index and fix syntax issues
- Add reference to documentation in doc/build/tools
Changes in v2:
- Add compile_commands.json to gitignore
- Add documentation
Joao Marcos Costa (8):
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
doc: add ide_integration.rst to doc/develop scripts/gen_compile_commands: fix usage message
.gitignore | 3 + doc/build/gen_compile_commands.rst | 84 +++++++++++ doc/build/index.rst | 1 + doc/develop/ide_integration.rst | 13 ++ doc/develop/index.rst | 1 + scripts/gen_compile_commands.py | 230 +++++++++++++++++++++++++++++ 6 files changed, 332 insertions(+) create mode 100644 doc/build/gen_compile_commands.rst create mode 100644 doc/develop/ide_integration.rst create mode 100755 scripts/gen_compile_commands.py
Signature · 1 line
2.41.0