diff options
author | neonloop | 2021-05-07 20:09:32 +0000 |
---|---|---|
committer | neonloop | 2021-05-07 20:09:32 +0000 |
commit | 186c5c7f58b1b6b24f1f07990d278a10abe2add9 (patch) | |
tree | a5b46984a9bb2e23b760f530e09ab667fa120db6 /build.trimui.sh | |
parent | 7f6002caba3f0a6749820c2772161caf55b8d267 (diff) | |
download | uqm-186c5c7f58b1b6b24f1f07990d278a10abe2add9.tar.gz uqm-186c5c7f58b1b6b24f1f07990d278a10abe2add9.tar.bz2 uqm-186c5c7f58b1b6b24f1f07990d278a10abe2add9.zip |
Initial trimui s support
Diffstat (limited to 'build.trimui.sh')
-rwxr-xr-x | build.trimui.sh | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/build.trimui.sh b/build.trimui.sh index ced5060..3136e7b 100755 --- a/build.trimui.sh +++ b/build.trimui.sh @@ -1,8 +1,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=$(${CROSS_COMPILE}gcc --print-sysroot) -export CROSS_ROOT=$SYSROOT +export SYSROOT=$($CC --print-sysroot) export PATH=$SYSROOT/usr/bin/:$PATH -export CFLAGS="$($SYSROOT/usr/bin/sdl-config --cflags) -I$SYSROOT/usr/include" -export LDFLAGS="-L$SYSROOT/usr/lib" -export PKG_CONFIG_PATH=$SYSROOT/usr/lib/pkgconfig/ ./build.sh $1 $2 |