It’s easy to forget how to cross-compile linux.

Customize as appropriate and save as xmake.

#!/bin/bash
make O=../linux-build ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- "$@"