mirror of
https://github.com/libretro/libretro-super.git
synced 2024-11-27 10:00:34 +00:00
Build bsnes performance core for android
This commit is contained in:
parent
cd1c5610cd
commit
21d5625818
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user