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

export PATH=/opt/toolchains/psp/bin:$PATH
export PSPDEV=/opt/toolchains/psp
CXXFLAGS="-isystem /opt/toolchains/psp/include"
export CXXFLAGS
export LDFLAGS=-L/opt/toolchains/psp/lib
export LD_LIBRARY_PATH=/opt/toolchains/legacy-shared-objects
make distclean
./configure --host=psp --disable-debug --enable-plugins --default-dynamic --enable-release
make -j4
VERSION=`make print-distversion`
DISTS=`make print-dists`
mkdir scummvm-$VERSION
cp -r $DISTS EBOOT.PBP plugins scummvm-$VERSION
mkdir scummvm-$VERSION/kbd
cp -r backends/platform/psp/kbd/*.png scummvm-$VERSION/kbd
zip -r9 scummvm-$VERSION-psp.zip scummvm-$VERSION