Add VBA-M compilation to libretro-build.sh

This commit is contained in:
twinaphex 2013-09-22 14:59:56 +02:00
parent 4c00c00907
commit 6a5e450489
2 changed files with 15 additions and 0 deletions

View File

@ -282,6 +282,20 @@ build_libretro_mame078()
fi
}
build_libretro_vbam()
{
cd "$BASE_DIR"
if [ -d "libretro-vbam" ]; then
echo "=== Building VBA-M ==="
cd libretro-vbam/src/libretro
${MAKE} -f Makefile platform=$FORMAT_COMPILER_TARGET_ALT $COMPILER -j$JOBS clean || die "Failed to clean VBA-M"
${MAKE} -f Makefile platform=$FORMAT_COMPILER_TARGET_ALT $COMPILER -j$JOBS || die "Failed to build VBA-M"
cp vbam_libretro$FORMAT.$FORMAT_EXT "$RARCH_DIST_DIR"
else
echo "VBA-M not fetched, skipping ..."
fi
}
build_libretro_vba_next()
{
cd "$BASE_DIR"

View File

@ -93,6 +93,7 @@ else
build_libretro_s9x_next
build_libretro_genplus
build_libretro_fba_full
build_libretro_vbam
build_libretro_vba_next
build_libretro_bnes
build_libretro_fceu