From 9c6708fdfdfd2b02bc16b86cea6befe3e92aa5da Mon Sep 17 00:00:00 2001 From: twinaphex Date: Tue, 30 Apr 2013 06:45:49 +0200 Subject: [PATCH] Add PCSX ReARMed function to libretro-build-common-console.sh --- libretro-build-common-console.sh | 15 +++++++++++++++ libretro-build-ios.sh | 1 + 2 files changed, 16 insertions(+) diff --git a/libretro-build-common-console.sh b/libretro-build-common-console.sh index dd43c08c..02706cd9 100644 --- a/libretro-build-common-console.sh +++ b/libretro-build-common-console.sh @@ -21,6 +21,21 @@ build_libretro_fba_full() fi } +build_libretro_pcsx_rearmed() +{ + cd $BASE_DIR + pwd + if [ -d "libretro-pcsx-rearmed" ]; then + echo "=== Building PCSX ReARMed ===" + cd libretro-pcsx-rearmed + make -f Makefile.libretro platform=$FORMAT_COMPILER_TARGET -j$JOBS clean || die "Failed to clean PCSX ReARMed" + make -f Makefile.libretro platform=$FORMAT_COMPILER_TARGET -j$JOBS || die "Failed to build PCSX ReARMed" + cp pcsx_rearmed_libretro$FORMAT.$FORMAT_EXT $RARCH_DIST_DIR + else + echo "PCSX ReARMed not fetched, skipping ..." + fi +} + build_libretro_mednafen() { cd $BASE_DIR diff --git a/libretro-build-ios.sh b/libretro-build-ios.sh index e6a19ebe..0d9e0be1 100755 --- a/libretro-build-ios.sh +++ b/libretro-build-ios.sh @@ -32,6 +32,7 @@ create_dist_dir() create_dist_dir +build_libretro_pcsx_rearmed build_libretro_mednafen build_libretro_mednafen_psx build_libretro_mednafen_gba