aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/gph/build
diff options
context:
space:
mode:
authorDavid-John Willis2011-10-03 12:38:42 +0100
committerDavid-John Willis2011-10-03 12:38:42 +0100
commit428105b2d393b17e750893556040d665b3fb1c9a (patch)
tree7b91582221e5361a669df0b3e2ad525a920f7879 /backends/platform/gph/build
parentfc551cf1add92bfa5ce703e28f669bb4feee5658 (diff)
downloadscummvm-rg350-428105b2d393b17e750893556040d665b3fb1c9a.tar.gz
scummvm-rg350-428105b2d393b17e750893556040d665b3fb1c9a.tar.bz2
scummvm-rg350-428105b2d393b17e750893556040d665b3fb1c9a.zip
GPH: Minor cleanup (and rename header from gph-sdl.h to gph.h).
Diffstat (limited to 'backends/platform/gph/build')
-rw-r--r--backends/platform/gph/build/gp2xwiz-bundle.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/backends/platform/gph/build/gp2xwiz-bundle.sh b/backends/platform/gph/build/gp2xwiz-bundle.sh
index 579e2dc77b..2182f207c3 100644
--- a/backends/platform/gph/build/gp2xwiz-bundle.sh
+++ b/backends/platform/gph/build/gp2xwiz-bundle.sh
@@ -2,6 +2,16 @@
echo Quick script to make building a distribution of the GP2X Wiz backend more consistent.
+# 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=-march=armv4t
+export LDFLAGS=-static
+export ASFLAGS=-mfloat-abi=soft
+
cd ../../../..
echo Building ScummVM for GP2X Wiz.