aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/gp2x/build
diff options
context:
space:
mode:
authorJohn Willis2007-07-05 14:35:35 +0000
committerJohn Willis2007-07-05 14:35:35 +0000
commit8e35049c9eff4eb1dc326e9d7f9c2805bc1e4a4c (patch)
treea9ea789db65a2f7f04a1f215cb4c953772b562a1 /backends/platform/gp2x/build
parentbb37b9b839ca347ac7d1df53a681e12630f4b36f (diff)
downloadscummvm-rg350-8e35049c9eff4eb1dc326e9d7f9c2805bc1e4a4c.tar.gz
scummvm-rg350-8e35049c9eff4eb1dc326e9d7f9c2805bc1e4a4c.tar.bz2
scummvm-rg350-8e35049c9eff4eb1dc326e9d7f9c2805bc1e4a4c.zip
Tidy up of the GP2X config.sh and bundle.sh scripts. Add support for libMPEG2 (software YV12 for now). Now needs the latest test Open2x lib pack to build (http://wiki.open2x.org/open2x/wiki/index.php?title=Prebuilt_Library_Packages#Test_Releases).
svn-id: r27922
Diffstat (limited to 'backends/platform/gp2x/build')
-rw-r--r--backends/platform/gp2x/build/bundle.sh7
-rw-r--r--backends/platform/gp2x/build/config.sh2
2 files changed, 5 insertions, 4 deletions
diff --git a/backends/platform/gp2x/build/bundle.sh b/backends/platform/gp2x/build/bundle.sh
index cdadaa8116..526742e2e7 100644
--- a/backends/platform/gp2x/build/bundle.sh
+++ b/backends/platform/gp2x/build/bundle.sh
@@ -36,13 +36,14 @@ arm-open2x-linux-strip ./scummvm-gp2x-`date '+%Y-%m-%d'`/scummvm.gp2x
echo Building ZIP bundle.
if [ -f /usr/bin/zip ]
then
+ rm ./"gp2xkernel-open2x-`date '+%Y-%m-%d'`.zip"
cd "scummvm-gp2x-`date '+%Y-%m-%d'`"
- zip "../scummvm-gp2x-`date '+%Y-%m-%d'`.zip" * -r -9
+ zip -r -9 "../scummvm-gp2x-`date '+%Y-%m-%d'`.zip" *
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'`"
+ cd ..
+ rm -R ./"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/config.sh b/backends/platform/gp2x/build/config.sh
index 193210a1b8..f899c7665a 100644
--- a/backends/platform/gp2x/build/config.sh
+++ b/backends/platform/gp2x/build/config.sh
@@ -17,6 +17,6 @@ export DEFINES=-DNDEBUG
# Edit the configure line to suit.
cd ../../../..
-./configure --backend=gp2x --disable-mt32emu --host=gp2x --disable-mpeg2 --disable-flac --disable-nasm --disable-hq-scalers --with-sdl-prefix=/opt/open2x/gcc-4.1.1-glibc-2.3.6/bin --enable-tremor --with-tremor-prefix=/opt/open2x/gcc-4.1.1-glibc-2.3.6 --enable-zlib --with-zlib-prefix=/opt/open2x/gcc-4.1.1-glibc-2.3.6 --enable-mad --with-mad-prefix=/opt/open2x/gcc-4.1.1-glibc-2.3.6
+./configure --backend=gp2x --disable-mt32emu --host=gp2x --disable-flac --disable-nasm --disable-hq-scalers --with-sdl-prefix=/opt/open2x/gcc-4.1.1-glibc-2.3.6/bin --with-mpeg2-prefix=/opt/open2x/gcc-4.1.1-glibc-2.3.6 --enable-tremor --with-tremor-prefix=/opt/open2x/gcc-4.1.1-glibc-2.3.6 --enable-zlib --with-zlib-prefix=/opt/open2x/gcc-4.1.1-glibc-2.3.6 --enable-mad --with-mad-prefix=/opt/open2x/gcc-4.1.1-glibc-2.3.6
echo Generating config for GP2X complete. Check for errors.