[Q] compiling kernel for MT6589...! ( PLEASE HELP )

736 posts
Thanks Meter: 918
Post Reply Subscribe to Thread Email Thread
I'm trying to compile a rom for micromax a116 and I'm having trouble with the kernel sources... The sources don't have a defconfig file.. Its very different from other samsung device sources that I've seen before..
Sources :

When I try to compile it gives me error..!!

And I googled about it and found that these kernels have to be pre-built or something using these instructions...
Set toolchain path and compile with this command: TARGET_PRODUCT=wiko TARGET_BUILD_VARIANT=user MTK_ROOT_CUSTOM=../mediatek/custom/ make
and then patch zImage using mkimage tool located in mediatek/build/tools using this command: ./mkimage zImage KERNEL > zImage_patched
Repack zImage_patched with stock ramdisk to get boot.img.
Strip all built modules: make INSTALL_MOD_STRIP=1 INSTALL_MOD_PATH=./out/wiko/system INSTALL_MOD_DIR=./out/wiko/system android_modules_install
And then flash boot.img + modules from kernel/out/system/lib/modules !
I'm having troubles with those commands...
The first command TARGET_PRODUCT=wiko TARGET_BUILD_VARIANT=user MTK_ROOT_CUSTOM=../mediatek/custom/ make
Gave me an error : make: *** No targets specified and no makefile found. Stop.

I don't know how to build this kernel
And even if I build it...I don't know how to use this pre-built kernel to build my rom...

Thanks in advance...
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools
Display Modes