mirror of
https://github.com/libretro/libretro-super
synced 2025-02-22 06:40:54 +00:00
Merge pull request #24 from MP2E/master
Build bsnes performance core for android
This commit is contained in:
commit
02cb0c703f
@ -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…
x
Reference in New Issue
Block a user