掌機 - Miyoo Mini Plus - Build Kernel



參考資訊:
https://stackoverflow.com/questions/5098360/cmake-specifying-build-toolchain

步驟如下:

$ cd
$ wget https://github.com/steward-fu/website/releases/download/miyoo-mini/toolchain.tar.gz
$ tar xvf toolchain.tar.gz
$ sudo mv mmiyoo /opt
$ sudo mv prebuilt /opt
$ export PATH=/opt/mmiyoo/bin/:$PATH

$ wget https://github.com/steward-fu/website/releases/download/miyoo-mini-plus/src_kernel-4.9.84.tar.gz
$ tar xvf src_kernel-4.9.84.tar.gz
$ cd kernel
$ ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- make mmp_defconfig
$ ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- make uImage modules -j4