aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/gph/build/build.sh
diff options
context:
space:
mode:
Diffstat (limited to 'backends/platform/gph/build/build.sh')
-rwxr-xr-xbackends/platform/gph/build/build.sh19
1 files changed, 19 insertions, 0 deletions
diff --git a/backends/platform/gph/build/build.sh b/backends/platform/gph/build/build.sh
new file mode 100755
index 0000000000..876c3e378a
--- /dev/null
+++ b/backends/platform/gph/build/build.sh
@@ -0,0 +1,19 @@
+#!/bin/bash
+
+echo Quick script to make building all the time less painful.
+
+# Set the paths up here to support the build.
+
+export PATH=/opt/open2x/gcc-4.1.1-glibc-2.3.6/arm-open2x-linux/bin:$PATH
+export PATH=/opt/open2x/gcc-4.1.1-glibc-2.3.6/bin:$PATH
+export CXX=arm-open2x-linux-g++
+export CC=arm-open2x-linux-gcc
+export CXXFLAGS="-mcpu=arm926ej-s -mtune=arm926ej-s"
+export ASFLAGS=-mfloat-abi=soft
+
+cd ../../../..
+
+echo Building ScummVM for GP2X Wiz.
+make
+
+echo Build for GP2X Wiz - complete - Please check build logs.