The Linux Kernel Souce Code of Lumia950XL Build command is : dpkg-buildpackage --target-arch=arm64 --host-arch=arm64 -j16 Please change the compiler toolchain path to your aarch64 compiler path in ./debian/rules before compiling!