~ubuntu-branches/ubuntu/raring/scummvm/raring

« back to all changes in this revision

Viewing changes to backends/platform/gph/build/gp2x-config-alleng.sh

  • Committer: Bazaar Package Importer
  • Author(s): Moritz Muehlenhoff
  • Date: 2011-05-25 19:02:23 UTC
  • mto: (21.1.2 sid)
  • mto: This revision was merged to the branch mainline in revision 24.
  • Revision ID: james.westby@ubuntu.com-20110525190223-fiqm0oaec714xk31
Tags: upstream-1.3.0
ImportĀ upstreamĀ versionĀ 1.3.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/bash
 
2
 
 
3
echo Quick script to make running configure all the time less painful
 
4
echo and let all the build work be done from the backend/build folder.
 
5
 
 
6
# Set the paths up here to generate the config.
 
7
 
 
8
PATH=/opt/open2x/gcc-4.1.1-glibc-2.3.6/arm-open2x-linux/bin:$PATH
 
9
PATH=/opt/open2x/gcc-4.1.1-glibc-2.3.6/bin:$PATH
 
10
 
 
11
# Export the tool names for cross-compiling
 
12
export CXX=arm-open2x-linux-g++
 
13
export CXXFLAGS=-march=armv4t
 
14
export CPPFLAGS=-I/opt/open2x/gcc-4.1.1-glibc-2.3.6/include
 
15
export LDFLAGS=-L/opt/open2x/gcc-4.1.1-glibc-2.3.6/lib
 
16
export DEFINES=-DNDEBUG
 
17
 
 
18
# Edit the configure line to suit.
 
19
cd ../../../..
 
20
./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
 
21
#--enable-plugins --default-dynamic
 
22
 
 
23
echo Generating config for GP2X complete. Check for errors.