makefile 生成 cmake

生成 compile_commands.json

# 否则会报 wrapper: failed with: gRPC call failed: Socket closed
export no_proxy=localhost
bear -- make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- O=build -j8 vmlinux zImage

git clone https://github.com/habemus-papadum/kernel-grok

# 在 compile_commands.json 目录执行
kernel-grok/kernel-grok/generate_cmake  ## creates CMakeLists.txt
posted @ 2023-08-25 01:48  chumoath  阅读(358)  评论(0)    收藏  举报