aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/gp2x
diff options
context:
space:
mode:
authorDavid-John Willis2011-04-12 10:39:38 +0100
committerDavid-John Willis2011-04-12 10:44:04 +0100
commit15bdb29248db3acc5408dacc2bc696e0904d6869 (patch)
treebc0bb2b87366f3c5500fa0d9aabcd47baed82d73 /backends/platform/gp2x
parentfbc58d21ffe7e869b6d6387c72c02fdba32431d8 (diff)
downloadscummvm-rg350-15bdb29248db3acc5408dacc2bc696e0904d6869.tar.gz
scummvm-rg350-15bdb29248db3acc5408dacc2bc696e0904d6869.tar.bz2
scummvm-rg350-15bdb29248db3acc5408dacc2bc696e0904d6869.zip
GPH: Add separate button defined buttons for each supported device.
* No default buttons set any more as I would want the build to fails if you don't provide the backend with a device. * Also commit some small cleanup to the bundle files.
Diffstat (limited to 'backends/platform/gp2x')
-rwxr-xr-xbackends/platform/gp2x/build/bundle.sh11
1 files changed, 10 insertions, 1 deletions
diff --git a/backends/platform/gp2x/build/bundle.sh b/backends/platform/gp2x/build/bundle.sh
index d17f8bd831..c4fe63ed9e 100755
--- a/backends/platform/gp2x/build/bundle.sh
+++ b/backends/platform/gp2x/build/bundle.sh
@@ -2,9 +2,18 @@
echo Quick script to make building a distribution of the GP2X port 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.
make gp2x-bundle
-