From 0cea4432f3d3593a76127550c2a14ab6bc81975a Mon Sep 17 00:00:00 2001 From: twinaphex Date: Thu, 7 Aug 2014 04:43:23 +0200 Subject: [PATCH] Add PPSSPP building to libretro-build.sh --- libretro-build-common.sh | 16 ++++++++++++++++ libretro-build.sh | 1 + 2 files changed, 17 insertions(+) diff --git a/libretro-build-common.sh b/libretro-build-common.sh index 0f388859..ae6e6baf 100755 --- a/libretro-build-common.sh +++ b/libretro-build-common.sh @@ -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 diff --git a/libretro-build.sh b/libretro-build.sh index a870ae99..6362a1c8 100755 --- a/libretro-build.sh +++ b/libretro-build.sh @@ -148,4 +148,5 @@ else build_libretro_dinothawr build_libretro_3dengine build_libretro_vecx + build_libretro_ppsspp fi