aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/gp2xwiz/build/build.sh
diff options
context:
space:
mode:
authorJohn Willis2009-06-04 08:30:31 +0000
committerJohn Willis2009-06-04 08:30:31 +0000
commit929ef3e4a8eaf83e5fda75fb1047feb6647e7799 (patch)
tree4c9cf9ce363eb977371e3be19ae88b84b6f207a1 /backends/platform/gp2xwiz/build/build.sh
parent70effa46e55100630df3b902918c75e77d505188 (diff)
downloadscummvm-rg350-929ef3e4a8eaf83e5fda75fb1047feb6647e7799.tar.gz
scummvm-rg350-929ef3e4a8eaf83e5fda75fb1047feb6647e7799.tar.bz2
scummvm-rg350-929ef3e4a8eaf83e5fda75fb1047feb6647e7799.zip
Initial import of the GP2XWiz backend (based on the GP2X and SDL backends). Includes configure changes and one #ifdef to SDL backend. Also updates NEWS.
svn-id: r41156
Diffstat (limited to 'backends/platform/gp2xwiz/build/build.sh')
-rwxr-xr-xbackends/platform/gp2xwiz/build/build.sh19
1 files changed, 19 insertions, 0 deletions
diff --git a/backends/platform/gp2xwiz/build/build.sh b/backends/platform/gp2xwiz/build/build.sh
new file mode 100755
index 0000000000..1bdc020f17
--- /dev/null
+++ b/backends/platform/gp2xwiz/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.
+make
+
+echo Build for GP2X - SDL - complete - Please check build logs.