Skip to content
Commit c852f2e7 authored by Joao Marcos Costa's avatar Joao Marcos Costa Committed by Tom Rini
Browse files

scripts: Port Linux's gen_compile_commands.py to U-Boot



This script generates a database of compiler flags, namely
compile_commands.json. It is quite useful for text editors that use
clangd LSP (e.g. Vim, Neovim).

It was ported from Linux's sources:
- tag: v6.4
- revision 6995e2de6891c724bfeb2db33d7b87775f913ad1

Modifications for U-Boot compatibility will be added in a follow-up
commit.

Signed-off-by: default avatarJoao Marcos Costa <jmcosta944@gmail.com>
Tested-by: default avatarJoao Paulo Goncalves <joao.goncalves@toradex.com>
parent 6e0a75d3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment