How do I use nvbuild.sh to clear a kernel build?

When I build the kernel with./nvbuild.sh -o $PWD/kernel_out, it reports the following error.


But when I want to clear the kernel I don’t know how to do that, right.
nvbuild.sh -h has only the following two prompts.

How do I do that? I want to make clean the compilation.

Hi, you may simply delete the kernel_out folder and start building again.

@DaveYYY
After I ran make ARCH=arm64 mrproper in the [KERNEL] source directory as prompted, the problem was resolved and the kernel could continue compiling. My simple removal of the kernel_out directory did not work completely.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.