aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/gp2xwiz/build/build.sh
blob: 1bdc020f1769a1abd31c134333db39018761b6eb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/bash

echo Quick script to make building all the time less painful.

# Set the paths up here to support the build.

export PATH=/opt/open2x/gcc-4.1.1-glibc-2.3.6/arm-open2x-linux/bin:$PATH
export PATH=/opt/open2x/gcc-4.1.1-glibc-2.3.6/bin:$PATH
export CXX=arm-open2x-linux-g++
export CC=arm-open2x-linux-gcc
export CXXFLAGS="-mcpu=arm926ej-s -mtune=arm926ej-s"
export ASFLAGS=-mfloat-abi=soft

cd ../../../..

echo Building ScummVM for GP2X.
make

echo Build for GP2X - SDL - complete - Please check build logs.