Add PPSSPP building to libretro-build.sh

This commit is contained in:
twinaphex 2014-08-07 04:43:23 +02:00
parent 44941d3375
commit 0cea4432f3
2 changed files with 17 additions and 0 deletions

View File

@ -1127,6 +1127,22 @@ build_libretro_picodrive() {
fi
}
build_libretro_ppsspp() {
cd "${BASE_DIR}"
if [ -d 'libretro-ppsspp' ]; then
echo '=== Building PPSSPP ==='
cd libretro-ppsspp/libretro
if [ -z "${NOCLEAN}" ]; then
"${MAKE}" -f Makefile platform="${FORMAT_COMPILER_TARGET}" ${COMPILER} "-j${JOBS}" clean || die 'Failed to clean PPSSPP'
fi
"${MAKE}" -f Makefile platform="${FORMAT_COMPILER_TARGET}" ${COMPILER} "-j${JOBS}" || die 'Failed to build PPSSPP'
cp "ppsspp_libretro${FORMAT}.${FORMAT_EXT}" "${RARCH_DIST_DIR}"
else
echo 'PPSSPP not fetched, skipping ...'
fi
}
build_libretro_yabause() {
cd "${BASE_DIR}"
if [ -d 'libretro-yabause' ]; then

View File

@ -148,4 +148,5 @@ else
build_libretro_dinothawr
build_libretro_3dengine
build_libretro_vecx
build_libretro_ppsspp
fi