summaryrefslogtreecommitdiff
path: root/build.trimui.sh
blob: 3136e7bf30c8840d4506035da223b5639ca4640f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#! /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, where '.' is the location of the uqm executable on the SD card

export CC=${CROSS_COMPILE}gcc
export SYSROOT=$($CC --print-sysroot)
export PATH=$SYSROOT/usr/bin/:$PATH
./build.sh $1 $2