2010-06-15 20:45:13 +00:00
|
|
|
#!/bin/sh
|
2006-10-06 19:01:39 +00:00
|
|
|
|
|
|
|
echo Quick script to make building a distribution of the GP2X port more consistent.
|
|
|
|
|
2011-04-12 10:39:38 +01:00
|
|
|
# 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
|
|
|
|
|
2010-06-15 20:45:13 +00:00
|
|
|
cd ../../../..
|
2006-10-06 19:01:39 +00:00
|
|
|
|
2010-06-15 20:45:13 +00:00
|
|
|
echo Building ScummVM for GP2X Wiz.
|
2006-10-06 19:01:39 +00:00
|
|
|
|
2010-06-15 20:45:13 +00:00
|
|
|
make gp2x-bundle
|