为什么在源码里面使用./nvbuild.sh -o $PWD/kernel_out,每次都要重编译
Hi liujs-hhyc,
What do you mean about “每次都要重编译”?
You should rebuild it once you have any modification in kernel source.
只修改部分内容,怎样才能只编译这部分,而不是全部重新编译,因为每次编译都需要耗费大量的时间
It should be faster in build time if you’ve ever built them.
Which part are you modifying?
Have you tried running make command if there’s the Makefile?
大多数情况下只修改dts/dtsi,有kernel文件夹下的,有hardware文件夹下的
For dtb, you can just refer to Building the DTBs.
For kernel, please refer to Building the Jetson Linux Kernel.
Or you can just run make
to build specific kernel module in that directory with Makefile.
For “hardware” directory, there’re almost device tree files.
We would still suggest you building them all in case you miss something.
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.