diff options
author | John Willis | 2009-06-06 16:52:45 +0000 |
---|---|---|
committer | John Willis | 2009-06-06 16:52:45 +0000 |
commit | c2a6ae1db3dae0b8d67bda36af71aab41c47f693 (patch) | |
tree | 9ab77eee877fd6e6faa9ee3b2230d429664b0140 /backends/platform/gp2x/build/config-alleng.sh | |
parent | ba134a51582e4c7d7ec33cd65027245e056822b0 (diff) | |
download | scummvm-rg350-c2a6ae1db3dae0b8d67bda36af71aab41c47f693.tar.gz scummvm-rg350-c2a6ae1db3dae0b8d67bda36af71aab41c47f693.tar.bz2 scummvm-rg350-c2a6ae1db3dae0b8d67bda36af71aab41c47f693.zip |
GP2X: Small cleanup of control code and start to work on virtual keyboard support for the backend.
svn-id: r41230
Diffstat (limited to 'backends/platform/gp2x/build/config-alleng.sh')
-rwxr-xr-x | backends/platform/gp2x/build/config-alleng.sh | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/backends/platform/gp2x/build/config-alleng.sh b/backends/platform/gp2x/build/config-alleng.sh new file mode 100755 index 0000000000..5724f39dc5 --- /dev/null +++ b/backends/platform/gp2x/build/config-alleng.sh @@ -0,0 +1,23 @@ +#!/bin/bash + +echo Quick script to make running configure all the time less painful +echo and let all the build work be done from the backend/build folder. + +# Set the paths up here to generate the config. + +PATH=/opt/open2x/gcc-4.1.1-glibc-2.3.6/arm-open2x-linux/bin:$PATH +PATH=/opt/open2x/gcc-4.1.1-glibc-2.3.6/bin:$PATH + +# Export the tool names for cross-compiling +export CXX=arm-open2x-linux-g++ +export CXXFLAGS=-march=armv4t +export CPPFLAGS=-I/opt/open2x/gcc-4.1.1-glibc-2.3.6/include +export LDFLAGS=-L/opt/open2x/gcc-4.1.1-glibc-2.3.6/lib +export DEFINES=-DNDEBUG + +# Edit the configure line to suit. +cd ../../../.. +./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 --enable-all-engines --enable-vkeybd +# --enable-plugins --default-dynamic + +echo Generating config for GP2X complete. Check for errors. |