1#!/bin/sh
2
3echo Quick script to make building a distribution of the GP2X port more consistent.
4
5# Set the paths up here to support the build.
6
7export PATH=/opt/open2x/gcc-4.1.1-glibc-2.3.6/arm-open2x-linux/bin:$PATH
8export PATH=/opt/open2x/gcc-4.1.1-glibc-2.3.6/bin:$PATH
9export CXX=arm-open2x-linux-g++
10export CC=arm-open2x-linux-gcc
11export CXXFLAGS=-march=armv4t
12export LDFLAGS=-static
13export ASFLAGS=-mfloat-abi=soft
14
15cd ../../../..
16
17echo Building ScummVM for GP2X Wiz.
18
19make gp2x-bundle
20