(Picodrive) Add picodrive buiding to libretro-build.sh

(Mupen64) Add mupen64 building rule - has to be compiled
manually by doing ./libretro-build.sh build_libretro_mupen64
This commit is contained in:
twinaphex 2013-06-30 17:33:15 +02:00
parent e3f8a8241a
commit b952d7373f
2 changed files with 37 additions and 0 deletions

View File

@ -461,6 +461,42 @@ build_libretro_bnes()
fi
}
build_libretro_mupen64()
{
cd "$BASE_DIR"
if [ -d "libretro-mupen64plus" ]; then
echo "=== Building Mupen 64 Plus ==="
cd libretro-mupen64plus
mkdir -p obj
${MAKE} -j$JOBS clean || die "Failed to clean Mupen 64"
${MAKE} $COMPILER -j$JOBS || die "Failed to build Mupen 64"
cp mupen64plus_libretro${FORMAT}.${FORMAT_EXT} "$RARCH_DIST_DIR"
else
echo "Mupen64 Plus not fetched, skipping ..."
fi
}
build_libretro_picodrive()
{
cd "$BASE_DIR"
pwd
if [ -d "libretro-picodrive" ]; then
echo "=== Building Picodrive ==="
cd libretro-picodrive
if [ "$ARMV7" = true ]; then
echo "=== Building PCSX ReARMed (ARMV7 NEON) ==="
${MAKE} -f Makefile.libretro platform=arm -j$JOBS clean || die "Failed to clean Picodrive"
${MAKE} -f Makefile.libretro platform=arm -j$JOBS || die "Failed to build Picodrive"
else
${MAKE} -f Makefile.libretro platform=$FORMAT_COMPILER_TARGET $COMPILER -j$JOBS clean || die "Failed to clean Picodrive"
${MAKE} -f Makefile.libretro platform=$FORMAT_COMPILER_TARGET $COMPILER -j$JOBS || die "Failed to build PCSX Picodrive"
fi
cp picodrive_libretro$FORMAT.$FORMAT_EXT "$RARCH_DIST_DIR"
else
echo "Picodrive not fetched, skipping ..."
fi
}
create_dist_dir()
{
if [ -d $RARCH_DIST_DIR ]; then

View File

@ -188,6 +188,7 @@ else
build_libretro_scummvm
build_libretro_modelviewer
build_libretro_scenewalker
build_libretro_picodrive
if [ $FORMAT_COMPILER_TARGET != "win" ]; then
build_libretro_desmume
build_libretro_pcsx_rearmed