Build bsnes performance core for android

This commit is contained in:
Cray Elliott 2013-09-05 23:01:33 -07:00
parent cd1c5610cd
commit 21d5625818

View File

@ -451,6 +451,23 @@ create_dist_dir()
fi
}
build_libretro_bsnes_performance()
{
cd $BASE_DIR
if [ -d "libretro-bsnes" ]; then
echo "=== Building bsnes (performance core) ==="
cd libretro-bsnes/perf
cd target-libretro/jni
ndk-build clean APP_ABI="armeabi-v7a x86"
ndk-build -j$JOBS APP_ABI="armeabi-v7a x86"
cp ../libs/armeabi-v7a/libretro_bsnes_performance.${FORMAT_EXT} $RARCH_DIST_DIR/armeabi-v7a/libretro_bsnes_performance.${FORMAT_EXT}
cp ../libs/mips/libretro_bsnes_performance.${FORMAT_EXT} $RARCH_DIST_DIR/mips/libretro_bsnes_performance.${FORMAT_EXT}
cp ../libs/x86/libretro_bsnes_performance.${FORMAT_EXT} $RARCH_DIST_DIR/x86/libretro_bsnes_performance.${FORMAT_EXT}
else
echo "bsnes not fetched, skipping ..."
fi
}
create_dist_dir
if [ $1 ]; then
@ -476,4 +493,5 @@ else
build_libretro_instancingviewer
build_libretro_scenewalker
build_libretro_picodrive
build_libretro_bsnes_performance
fi