#! /bin/sh # To build: # ./build.trimui.sh uqm config # Select "Optimised Release build" # Select "SDL1 without OpenGL" # ./build.trimui.sh uqm # To install: # On the SD card, create ~/.uqm and copy config/override.cfg and config/flight.cfg into it # Download uqm-0.8.0-content.uqm and copy it into ./content/packages # Copy the uqm binary and the content/ directory to the SD card export CC=${CROSS_COMPILE}gcc export SYSROOT=$($CC --print-sysroot) export PATH=$SYSROOT/usr/bin/:$PATH ./build.sh $1 $2