Good Afternoon,
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.
I am using this tutorial:
http://jetson.co/doc/index.html#page/Tegra%2520Linux%2520Driver%2520Package%2520Development%2520Guide/l4t_developers_guide.html#wwpID0E0AD0HA
I Use
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[1]: *** [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 ,
michael