Hello Thanaraj,
Like Carlos Musich said, changing the kernel version is a very complex task, and unfortunately, we cannot provide you this level of support.
However, if you want to build the kernel image separately, you can use the following commands:
$ export PATH=~/myandroid/bootable/bootloader/uboot-imx/tools:$PATH
$ cd ~/myandroid/kernel_imx
$ echo $ARCH && echo $CROSS_COMPILE
You need to set those two environment variables:
$ export ARCH=arm
$ export CROSS_COMPILE=~/myandroid/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/bin/arm-linux-androideabi-
Then, you proceed to build your kernel image.
$ make imx_v7_android_defconfig
$ make menuconfig #set your desired configuration
$ make KCFLAGS=-mno-android
I hope this can help you.
Best Regards,
Diego.
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------