diff options
-rw-r--r-- | backends/platform/gp2x/build/bundle.sh | 7 | ||||
-rw-r--r-- | backends/platform/gp2x/build/config.sh | 2 |
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. |