diff options
author | David-John Willis | 2011-04-12 12:05:56 +0100 |
---|---|---|
committer | David-John Willis | 2011-04-13 08:01:15 +0100 |
commit | cb3e3e7125274dba4437f0beb35b461405eb3442 (patch) | |
tree | bf414509142fe8e02593f77c8e5188974ee964cc /backends/platform/gph/build/gp2x-config.sh | |
parent | 65fc72e30a885f6adca99505ee869e010f94c1c3 (diff) | |
download | scummvm-rg350-cb3e3e7125274dba4437f0beb35b461405eb3442.tar.gz scummvm-rg350-cb3e3e7125274dba4437f0beb35b461405eb3442.tar.bz2 scummvm-rg350-cb3e3e7125274dba4437f0beb35b461405eb3442.zip |
GP2X: Move build support files into the GPH backend.
Diffstat (limited to 'backends/platform/gph/build/gp2x-config.sh')
-rw-r--r-- | backends/platform/gph/build/gp2x-config.sh | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/backends/platform/gph/build/gp2x-config.sh b/backends/platform/gph/build/gp2x-config.sh new file mode 100644 index 0000000000..9092b0b1ea --- /dev/null +++ b/backends/platform/gph/build/gp2x-config.sh @@ -0,0 +1,24 @@ +#!/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-vkeybd --enable-plugins --default-dynamic +# --disable-release --enable-debug +# --enable-plugins --default-dynamic + +echo Generating config for GP2X complete. Check for errors. |