The first hurdle is to get the kernel to compile. I fetched the code from https://support.fairphone.com/hc/en-us/articles/201576803-Fairphone-1-Source-Code-Packages and did as instructed in the README:
cd kernel TARGET_BUILD_VARIANT=user TARGET_PRODUCT=ahong89_wet_jb2 MTK_ROOT_CUSTOM=../mediatek/custom/ make
However, this fails:
make: *** No rule to make target ‘…/mediatek/config/out/ahong89_wet_jb2/autoconfig/kconfig’, needed by ‘.config’. Stop.
In case this has to do with missing Mediatek drivers, I’m also open to disabling the necessary parts for now. The goal right now is to be able to boot to a graphical system, that’s all.
Any ideas how to get the kernel to compile? Maybe @danxuliu can help? Other help w.r.t. porting would also be appreciated Right now I have a bunch of pmbootstrap configuration files and don’t really know what I’m doing