Primary supported, build system defaults to it.
Needs editing of build scripts and replacing of stock boot.img.
- Get a arm-androideabi toolcahin.
git clone https://android.googlesource.com/platform/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9
Unpack in in the same level as kernel sources:
/android_kernel_cereus
/arm-linux-androideabi-4.9
-
If you choose to build with another gcc, put it to another place, redirect out to another folder - edit
build.shandrepack.sh. -
If you want to build for cactus, change
cereus_defconfigtocactus_defconfiginbuild.sh
-
Run
build.sh -
...
-
If you want to repack boot image, raplace boot.img in
repack_bootby your base kernel, runrepack.shscript -
Your builded kernel is
repack_boot/boot_new.img