diff options
author | David-John Willis | 2011-04-12 12:11:37 +0100 |
---|---|---|
committer | David-John Willis | 2011-04-13 08:01:16 +0100 |
commit | a18bb2e73d2580722fe418db7c307f9bc307e091 (patch) | |
tree | cc89a7fe03da91779bdc934ef439437d3a108c4d /backends/platform/gph/build/gp2xwiz-config-alleng.sh | |
parent | da688dbb7f20d08371a160d9fcc29776418d502d (diff) | |
download | scummvm-rg350-a18bb2e73d2580722fe418db7c307f9bc307e091.tar.gz scummvm-rg350-a18bb2e73d2580722fe418db7c307f9bc307e091.tar.bz2 scummvm-rg350-a18bb2e73d2580722fe418db7c307f9bc307e091.zip |
GPH: Move GP2XWIZ build support files into devices folder.
* Also add a common folder with the shared bits.
Diffstat (limited to 'backends/platform/gph/build/gp2xwiz-config-alleng.sh')
-rw-r--r-- | backends/platform/gph/build/gp2xwiz-config-alleng.sh | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/backends/platform/gph/build/gp2xwiz-config-alleng.sh b/backends/platform/gph/build/gp2xwiz-config-alleng.sh new file mode 100644 index 0000000000..9ec8a09cd2 --- /dev/null +++ b/backends/platform/gph/build/gp2xwiz-config-alleng.sh @@ -0,0 +1,27 @@ +#!/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="-mcpu=arm926ej-s -mtune=arm926ej-s" +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 + +# Edit the configure line to suit. +cd ../../../.. +./configure --backend=gph --disable-mt32emu --host=gp2xwiz --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-png --with-png-prefix=/opt/open2x/gcc-4.1.1-glibc-2.3.6 \ + --enable-vkeybd --enable-all-engines --enable-plugins --default-dynamic + +echo Generating config for GP2X Wiz complete. Check for errors. |