I am trying to compile kernel for Cyanogenmod 13. I am getting error
ERROR: modpost: Found 2 section mismatch(es).
To see full details build your kernel with:
'make CONFIG_DEBUG_SECTION_MISMATCH=y'
To build the kernel despite the mismatches, build with:
'make CONFIG_NO_ERROR_ON_MISMATCH=y'
(NOTE: This is not recommended)
I read it here. That i need to compile my kernel using 4.7. How can i choose the version of toolchain during cyanogenmod build ??
Thanks to @nopasara and his valuable comment.
So i did little research further and discovered that the kernel is compatiable with
arm-eabi tool chainnotarm-linux-androideabitoolchain. So here is the command i usedand
To do with this Cyanogenmod add following line to your BoardConfig.mk
and either use
Or edit ~/android/system/build/core/combo/TARGET_linux-arm.mk and set version in