M040 repo is Linux kernel source code for Meizu M040 smartphones. With this repo, you can customize the source code and compile a Linux kernel image yourself. Enjoy it!
###1. Download source code###
git clone https://github.com/meizuosc/m040.git
###2. Compiling###
make mx2_defconfig
make -j8 ARCH=arm CROSS_COMPILE=arm-linux-gnueabi-
Note:
- Make sure you have arm cross tool chain, maybe you can download here
- If you get a poor cpu in your compiling host, you should use "-j4" or lower instead of "-j8"
Checkout our community http://bbs.meizu.cn (in Chinese)