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

« back to all changes in this revision

Viewing changes to backends/platform/gph/build/gp2xwiz-build.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 building all the time less painful.
 
4
 
 
5
# Set the paths up here to support the build.
 
6
 
 
7
export PATH=/opt/open2x/gcc-4.1.1-glibc-2.3.6/arm-open2x-linux/bin:$PATH
 
8
export PATH=/opt/open2x/gcc-4.1.1-glibc-2.3.6/bin:$PATH
 
9
export CXX=arm-open2x-linux-g++
 
10
export CC=arm-open2x-linux-gcc
 
11
export CXXFLAGS="-mcpu=arm926ej-s -mtune=arm926ej-s"
 
12
export ASFLAGS=-mfloat-abi=soft
 
13
 
 
14
cd ../../../..
 
15
 
 
16
echo Building ScummVM for GP2X Wiz.
 
17
make
 
18
 
 
19
echo Build for GP2X Wiz - complete - Please check build logs.