diff options
author | Ahmad Fatoum <ahmad@a3f.at> | 2021-01-31 20:40:04 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2021-02-16 10:33:04 +0100 |
commit | 4829226ac3d52e62a3ca3e28b92a79457c7b32f2 (patch) | |
tree | 31262b8466b562c78093aa1614c7df7546c416b2 /.gitignore | |
parent | 47255cfa5d358b0b138a651b63f43cb9b5e5f2e2 (diff) | |
download | barebox-4829226ac3d52e62a3ca3e28b92a79457c7b32f2.tar.gz barebox-4829226ac3d52e62a3ca3e28b92a79457c7b32f2.tar.xz |
Kbuild: add compile_commands.json target
The JSON compilation database format specification describes a
compile_commands.json file that lists how translation units are
compiled by a build system. This makes integration of external tools,
like IDEs, LSP servers and static analyzers easier.
Import the Linux bits. The database can now be manually generated
with make compile_commands.json.
Signed-off-by: Ahmad Fatoum <ahmad@a3f.at>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to '.gitignore')
-rw-r--r-- | .gitignore | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore index 7fa2948bf4..d7a37b3c9b 100644 --- a/.gitignore +++ b/.gitignore @@ -87,3 +87,4 @@ GTAGS /allno.config /allrandom.config /allyes.config +/compile_commands.json |