docker pull coreelec/coreelec-builder:latest
docker run -v ~/:/home/docker -h coreelec -it coreelec/coreelec-builder:latest
git clone git://github.com/CoreELEC/CoreELEC.git ~/CoreELEC
cd ~/CoreELEC
time(PROJECT=Amlogic-ng ARCH=aarch64 make image)
UsePROJECT=Amlogic
to build images for older S912 and S905/X/D devices