aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/gp2x/build
diff options
context:
space:
mode:
authorJohn Willis2007-06-26 08:50:11 +0000
committerJohn Willis2007-06-26 08:50:11 +0000
commit11fccdbff242ec238d9ccd86525bfa5a41be01bc (patch)
tree000f978497697b56311fd2602bcb4ed64fde3a96 /backends/platform/gp2x/build
parentcf0eb563adb10454b1a4c9b0d7c387526b348b30 (diff)
downloadscummvm-rg350-11fccdbff242ec238d9ccd86525bfa5a41be01bc.tar.gz
scummvm-rg350-11fccdbff242ec238d9ccd86525bfa5a41be01bc.tar.bz2
scummvm-rg350-11fccdbff242ec238d9ccd86525bfa5a41be01bc.zip
Cleanup of the GP2X port to fix compile issues (and the odd warning).
svn-id: r27728
Diffstat (limited to 'backends/platform/gp2x/build')
-rw-r--r--backends/platform/gp2x/build/build.sh1
-rw-r--r--backends/platform/gp2x/build/bundle.sh16
-rw-r--r--backends/platform/gp2x/build/mmuhack.obin0 -> 1720 bytes
3 files changed, 15 insertions, 2 deletions
diff --git a/backends/platform/gp2x/build/build.sh b/backends/platform/gp2x/build/build.sh
index dc2f56cb18..1ea77f4937 100644
--- a/backends/platform/gp2x/build/build.sh
+++ b/backends/platform/gp2x/build/build.sh
@@ -10,6 +10,7 @@ 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 ../../../..
diff --git a/backends/platform/gp2x/build/bundle.sh b/backends/platform/gp2x/build/bundle.sh
index 93ae45f0e3..cdadaa8116 100644
--- a/backends/platform/gp2x/build/bundle.sh
+++ b/backends/platform/gp2x/build/bundle.sh
@@ -19,6 +19,7 @@ cp ./scummvm.gpe ./scummvm-gp2x-`date '+%Y-%m-%d'`/
cp ./scummvm.png ./scummvm-gp2x-`date '+%Y-%m-%d'`/
cp ./README-GP2X.html ./scummvm-gp2x-`date '+%Y-%m-%d'`/
cp ./README-GP2X ./scummvm-gp2x-`date '+%Y-%m-%d'`/
+cp ./mmuhack.o ./scummvm-gp2x-`date '+%Y-%m-%d'`/
cp ../../../../scummvm.gp2x ./scummvm-gp2x-`date '+%Y-%m-%d'`/
cp ../../../../AUTHORS ./scummvm-gp2x-`date '+%Y-%m-%d'`/
cp ../../../../README ./scummvm-gp2x-`date '+%Y-%m-%d'`/
@@ -27,10 +28,21 @@ cp ../../../../COPYRIGHT ./scummvm-gp2x-`date '+%Y-%m-%d'`/
cp ../../../../NEWS ./scummvm-gp2x-`date '+%Y-%m-%d'`/
cp ../../../../gui/themes/modern.ini ./scummvm-gp2x-`date '+%Y-%m-%d'`/
cp ../../../../gui/themes/modern.zip ./scummvm-gp2x-`date '+%Y-%m-%d'`/
-
+cp ../../../../dists/pred.dic ./scummvm-gp2x-`date '+%Y-%m-%d'`/
echo Making Stripped GPE.
arm-open2x-linux-strip ./scummvm-gp2x-`date '+%Y-%m-%d'`/scummvm.gp2x
echo Building ZIP bundle.
-echo You should have a "scummvm-gp2x-`date '+%Y-%m-%d'`.zip" for the GP2X port ready to go.
+if [ -f /usr/bin/zip ]
+ then
+ cd "scummvm-gp2x-`date '+%Y-%m-%d'`"
+ zip "../scummvm-gp2x-`date '+%Y-%m-%d'`.zip" * -r -9
+ echo You should have a "scummvm-gp2x-`date '+%Y-%m-%d'`.zip" for the GP2X port ready to go.
+ echo All included files can also be found in ./"scummvm-gp2x-`date '+%Y-%m-%d'`"
+ else
+ echo - /usr/bin/zip not found, ZIP bundle not created.
+ echo All included files can also be found in ./"scummvm-gp2x-`date '+%Y-%m-%d'`"
+ echo - Please use you preferred archive tool to bundle these files.
+fi
+
diff --git a/backends/platform/gp2x/build/mmuhack.o b/backends/platform/gp2x/build/mmuhack.o
new file mode 100644
index 0000000000..475f4a54ae
--- /dev/null
+++ b/backends/platform/gp2x/build/mmuhack.o
Binary files differ