mirror of
https://github.com/libretro/ppsspp.git
synced 2024-11-29 03:10:28 +00:00
Blackberry: Simulator build script.
This commit is contained in:
parent
95881bdaac
commit
8fc0531c13
15
Blackberry/simulator_build.sh
Executable file
15
Blackberry/simulator_build.sh
Executable file
@ -0,0 +1,15 @@
|
||||
#!/bin/bash
|
||||
|
||||
BB_OS=`cat ${QNX_TARGET}/etc/qversion 2>/dev/null`
|
||||
if [ -z "$BB_OS" ]; then
|
||||
echo "Could not find your Blackberry NDK. Please source bbndk-env.sh"
|
||||
exit 1
|
||||
fi
|
||||
echo "Building for Blackberry ${BB_OS} Simulator"
|
||||
|
||||
# Set up cmake with GCC 4.6.3 cross-compiler from PATH
|
||||
CC=ntox86-gcc CXX=ntox86-g++ cmake -DSIMULATOR=ON -DBLACKBERRY=${BB_OS} ..
|
||||
|
||||
# Compile and create unsigned PPSSPP.bar with debugtoken
|
||||
DEBUG="-devMode -debugToken ${HOME}/debugtoken.bar"
|
||||
make -j4 && blackberry-nativepackager -package PPSSPP.bar bar-descriptor.xml $DEBUG
|
Loading…
Reference in New Issue
Block a user