aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/gph/build/gp2xwiz-bundle.sh
blob: 2182f207c34d781941b3be125a23d0c8918b60f7 (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 a distribution of the GP2X Wiz backend more consistent.

# 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=-march=armv4t
export LDFLAGS=-static
export ASFLAGS=-mfloat-abi=soft

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

echo Building ScummVM for GP2X Wiz.

make gp2xwiz-bundle