This issue might have been asked before, however I am unable to find an answer that supports my issue. I am trying to recompile the Jetson’s kernel and add some extra modules using make menuconfig.
make O=$TEGRA_KERNEL_OUT tegra12_defconfig
to create an configuration file.
then I use
make O=$TEGRA_KERNEL_OUT menuconfig
to add in the extra modules that I want to be compiled,
However, I get this output when I try to compile the kernel
make O=$TEGRA_KERNEL_OUT zImage Using /opt/JetPackTK1-1.1/Linux_for_Tegra/sources/kernel_source as source for kernel /opt/JetPackTK1-1.1/Linux_for_Tegra/sources/kernel_source is not clean, please run 'make mrproper' in the '/opt/JetPackTK1-1.1/Linux_for_Tegra/sources/kernel_source' directory. make: *** [prepare3] Error 1 make: *** [sub-make] Error 2
Does anybody know how I can perform this operation without contaminating the config file when running make menuconfig?
thank you ,