From 3a83960b76700db4aed576620a7cc15eea861c0e Mon Sep 17 00:00:00 2001 From: Joao Marcos Costa Date: Sun, 1 Oct 2023 12:00:34 +0200 Subject: doc: add documentation for gen_compile_commands.py This documentation briefly explains what is a compilation database, and how to use the script to generate one. This is not a portage, as there was no original documentation in the Linux sources. Acknowledge the documentation in the script's header and in doc/build index. Signed-off-by: Joao Marcos Costa Tested-by: Joao Paulo Goncalves --- scripts/gen_compile_commands.py | 1 + 1 file changed, 1 insertion(+) (limited to 'scripts') diff --git a/scripts/gen_compile_commands.py b/scripts/gen_compile_commands.py index 1a9c49b..aa52e88 100755 --- a/scripts/gen_compile_commands.py +++ b/scripts/gen_compile_commands.py @@ -5,6 +5,7 @@ # # Author: Tom Roeder # Ported and modified for U-Boot by Joao Marcos Costa +# Briefly documented at doc/build/gen_compile_commands.rst # """A tool for generating compile_commands.json in U-Boot.""" -- cgit v1.1