mirror of
https://github.com/libretro/libretro-super
synced 2024-12-01 04:03:00 +00:00
(Android) Add Mednafen PSX build rule
This commit is contained in:
parent
e0ef9ad9e0
commit
05b9c5ea07
@ -46,7 +46,7 @@ build_libretro_mednafen()
|
||||
echo "=== Building Mednafen cores ==="
|
||||
cd libretro-mednafen
|
||||
cd jni
|
||||
for core in pce_fast pcfx psx lynx wswan ngp vb; do
|
||||
for core in pce_fast pcfx lynx wswan ngp vb; do
|
||||
echo "=== Building Mednafen ${core} ==="
|
||||
if [ -z "${NOCLEAN}" ]; then
|
||||
ndk-build clean APP_ABI="armeabi-v7a mips x86" || die "Failed to clean mednafen_${core}"
|
||||
@ -62,6 +62,26 @@ build_libretro_mednafen()
|
||||
fi
|
||||
}
|
||||
|
||||
build_libretro_mednafen_psx()
|
||||
{
|
||||
cd $BASE_DIR
|
||||
pwd
|
||||
if [ -d "libretro-mednafen" ]; then
|
||||
cd libretro-mednafen-psx
|
||||
cd jni
|
||||
echo "=== Building Mednafen PSX ==="
|
||||
if [ -z "${NOCLEAN}" ]; then
|
||||
ndk-build clean APP_ABI="armeabi-v7a mips x86" || die "Failed to clean Mednafen PSX"
|
||||
fi
|
||||
ndk-build APP_ABI="armeabi-v7a mips x86" || die "Failed to build Mednafen PSX"
|
||||
cp ../libs/armeabi-v7a/libretro.${FORMAT_EXT} $RARCH_DIST_DIR/armeabi-v7a/mednafen_psx_libretro${FORMAT}.${FORMAT_EXT}
|
||||
cp ../libs/mips/libretro.${FORMAT_EXT} $RARCH_DIST_DIR/mips/mednafen_psx_libretro${FORMAT}.${FORMAT_EXT}
|
||||
cp ../libs/x86/libretro.${FORMAT_EXT} $RARCH_DIST_DIR/x86/mednafen_psx_libretro${FORMAT}.${FORMAT_EXT}
|
||||
else
|
||||
echo "Mednafen PSX not fetched, skipping ..."
|
||||
fi
|
||||
}
|
||||
|
||||
build_libretro_s9x()
|
||||
{
|
||||
cd $BASE_DIR
|
||||
|
Loading…
Reference in New Issue
Block a user