Building FP1 Kernel

I thought about porting PostmarketOS to the FP1. For that I’d need a working kernel.

The first hurdle is to get the kernel to compile. I fetched the code from 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 :slight_smile: Right now I have a bunch of pmbootstrap configuration files and don’t really know what I’m doing :sweat_smile:


If you want to build the stock kernel, you can look at (it worked when I wrote it ;)).
Dunno about the kernel from @danxuliu (

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.