步驟如下:
$ cd $ wget https://github.com/steward-fu/website/releases/download/xt897/gcc-4.9.tar.gz $ tar xvf gcc-4.9.tar.gz $ sudo mv gcc-4.9 /opt $ export PATH=/opt/gcc-4.9/bin:$PATH $ arm-linux-gnueabihf-gcc -v gcc version 4.9.4 (Linaro GCC 4.9-2017.01) $ wget https://github.com/steward-fu/website/releases/download/xt897/sailfishos_kernel.tar.gz $ tar xvf sailfishos_kernel.tar.gz $ cd kernel $ ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- make xt897_defconfig $ ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- make zImage -j4