summaryrefslogtreecommitdiff
path: root/build.trimui.sh
blob: 4029231668a2c92440c07f0ec180cb7411e2ba79 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#! /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