Update Linux

Fangrui Song 2021-01-13 17:31:06 -08:00
parent 8e6d8ba7e0
commit 04d01b52e8

@ -7,8 +7,7 @@ LLVM=1 enables a full set of LLVM tools: clang, llvm-objcopy, llvm-objdump, llvm
make O=/tmp/out/x86_64 ARCH=x86_64 LLVM=1 defconfig
make O=/tmp/out/x86_64 ARCH=x86_64 LLVM=1 -k bzImage modules # generate .<target>.cmd files
scripts/gen_compile_commands.py -d /tmp/out/x86_64
ln -s /tmp/out/x86_64/compile_commands.json
scripts/clang-tools/gen_compile_commands.py -d /tmp/out/x86_64
```
For older kernel (before http://git.kernel.org/linus/a0d1c951ef08ed24f35129267e3595d86f57f5d3), use