diff options
author | Masahiro Yamada <masahiroy@kernel.org> | 2020-08-22 23:56:17 +0900 |
---|---|---|
committer | Masahiro Yamada <masahiroy@kernel.org> | 2020-08-27 00:44:33 +0900 |
commit | 8b61f748e2a022f9028c612e44b68ad61caec474 (patch) | |
tree | 930b162ffde50ab2e4024a0873677a2e5abcde9c /block | |
parent | 3d32285fa99598f1885ac7022785b9c343407e62 (diff) | |
download | linux-riscv-8b61f748e2a022f9028c612e44b68ad61caec474.tar.gz linux-riscv-8b61f748e2a022f9028c612e44b68ad61caec474.tar.bz2 linux-riscv-8b61f748e2a022f9028c612e44b68ad61caec474.zip |
gen_compile_commands: remove the warning about too few .cmd files
This warning was useful when users previously needed to manually
build the kernel and run this script.
Now you can simply do 'make compile_commands.json', which updates
all the necessary build artifacts and automatically creates the
compilation database. There is no more worry for a mistake like
"Oh, I forgot to build the kernel".
Now, this warning is rather annoying.
You can create compile_commands.json for an external module:
$ make M=/path/to/your/external/module compile_commands.json
Then, this warning is displayed since there are usually less than
300 files in a single module.
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Reviewed-by: Nick Desaulniers <ndesaulniers@google.com>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions