summaryrefslogtreecommitdiffstats
path: root/scripts/clang-tools
diff options
context:
space:
mode:
authorMasahiro Yamada <masahiroy@kernel.org>2020-08-22 23:56:17 +0900
committerMasahiro Yamada <masahiroy@kernel.org>2020-08-27 00:44:33 +0900
commit8b61f748e2a022f9028c612e44b68ad61caec474 (patch)
tree930b162ffde50ab2e4024a0873677a2e5abcde9c /scripts/clang-tools
parent3d32285fa99598f1885ac7022785b9c343407e62 (diff)
downloadlinux-8b61f748e2a022f9028c612e44b68ad61caec474.tar.bz2
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 'scripts/clang-tools')
0 files changed, 0 insertions, 0 deletions