diff options
author | Eugene Sandulenko | 2006-10-06 19:01:39 +0000 |
---|---|---|
committer | Eugene Sandulenko | 2006-10-06 19:01:39 +0000 |
commit | 3d84f1104688db0b23b6fe9ccc86b587ac597837 (patch) | |
tree | df9c7c4fdbfbbb8c1aa67d6e5f4ffc9bcdac9fb4 /backends/platform/gp2x/build/bundle.sh | |
parent | e75bea0c8f454bbeac842414a7ab8c4c77321801 (diff) | |
download | scummvm-rg350-3d84f1104688db0b23b6fe9ccc86b587ac597837.tar.gz scummvm-rg350-3d84f1104688db0b23b6fe9ccc86b587ac597837.tar.bz2 scummvm-rg350-3d84f1104688db0b23b6fe9ccc86b587ac597837.zip |
Patch #1432376: "Very basic GP2X Backend"
svn-id: r24144
Diffstat (limited to 'backends/platform/gp2x/build/bundle.sh')
-rw-r--r-- | backends/platform/gp2x/build/bundle.sh | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/backends/platform/gp2x/build/bundle.sh b/backends/platform/gp2x/build/bundle.sh new file mode 100644 index 0000000000..93efa63a83 --- /dev/null +++ b/backends/platform/gp2x/build/bundle.sh @@ -0,0 +1,30 @@ +#!/bin/bash + +echo Quick script to make building a distribution of the GP2X port more consistent. + +PATH=/tools/open2x_gcc/gcc-4.0.2-glibc-2.3.5/arm-open2x-linux/arm-open2x-linux/bin:$PATH +PATH=/tools/open2x_gcc/gcc-4.0.2-glibc-2.3.5/arm-open2x-linux/bin:$PATH +export CXX=arm-open2x-linux-g++ +export CXXFLAGS=-march=armv4t +export CPPFLAGS=-I/tools/open2x_gcc/gcc-4.0.2-glibc-2.3.5/arm-open2x-linux/include +export LDFLAGS=-L/tools/open2x_gcc/gcc-4.0.2-glibc-2.3.5/arm-open2x-linux/lib + +echo Collecting files. +mkdir "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 ../../../../scummvm.gpe ./scummvm-gp2x-`date '+%Y-%m-%d'`/ +cp ../../../../AUTHORS ./scummvm-gp2x-`date '+%Y-%m-%d'`/ +cp ../../../../README ./scummvm-gp2x-`date '+%Y-%m-%d'`/ +cp ../../../../COPYING ./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'`/ + + +echo Making Stripped GPE. +arm-open2x-linux-strip ./scummvm-gp2x-`date '+%Y-%m-%d'`/scummvm.gpe + +echo Building ZIP bundle. +echo You should have a "scummvm-gp2x-`date '+%Y-%m-%d'`.zip" for the GP2X port ready to go.
\ No newline at end of file |