welford big cleanup of makefile/buildfile, enable cross compile
b1dea8f May 6, 2018
big cleanup of makefile/buildfile, enable cross compile
More to do, but this is a good start.

./build.sh release_gl -cc will cross compile setting the systemroot and gcc prefix to the following default values:

CCPREFIX=/home/pi/raspberrypi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin/arm-linux-gnueabihf-
CCSYSROOT=/home/pi/raspberrypi/sysroot

Edit them in ./build.sh to match your machine.
b1dea8f