Clang 6 based toolchain and GN buildroot for setting up a cross-compilation environment for the Raspberry Pi.
out
directory ./tools/setup_sdk.sh
.
out
with paths to your toolchain using ./tools/setup_gn.sh
.ninja -C out
on your host.
out
directory to the remote Raspberry Pi using SSHFS. That way, the build artifacts automatically end up getting pushed to the Pi.