How do I compile dolphin-emu on Ubuntu 64-bit for ARM aarch64?

Hello,
I made some changes to the emulator and want to test it on emuelec. How do I compile dolphin-emu on Ubuntu 64-bit for ARM aarch64?

Basically this:

You need to compile the toolchain first for amlogic-ng (Dolphin only works on S922x devices)

Once that is done you can compile a single package by typing:

PROJECT=Amlogic-ng ARCH=aarch64 DISTRO=EmuELEC ./scripts/build_mt dolphinsa