2013-12-09 01:10:42 +00:00
|
|
|
#!/bin/bash
|
2013-04-29 21:10:43 +00:00
|
|
|
|
|
|
|
build_libretro_fba()
|
|
|
|
{
|
|
|
|
cd $BASE_DIR
|
|
|
|
if [ -d "libretro-fba" ]; then
|
|
|
|
echo "=== Building Final Burn Alpha ==="
|
|
|
|
cd libretro-fba/
|
|
|
|
cd svn-current/trunk
|
|
|
|
make -f makefile.libretro platform=$FORMAT_COMPILER_TARGET -j$JOBS clean || die "Failed to clean Final Burn Alpha"
|
|
|
|
make -f makefile.libretro platform=$FORMAT_COMPILER_TARGET -j$JOBS || die "Failed to build Final Burn Alpha"
|
2013-05-18 00:11:06 +00:00
|
|
|
cp fb_alpha_libretro$FORMAT.${FORMAT_EXT} $RARCH_DIST_DIR
|
2013-04-29 21:10:43 +00:00
|
|
|
|
|
|
|
echo "=== Building Final Burn Alpha Cores (CPS1) ==="
|
2013-11-08 21:33:15 +00:00
|
|
|
cd ../../
|
|
|
|
cd svn-old/trunk
|
2013-04-29 21:10:43 +00:00
|
|
|
cd fbacores/cps1
|
|
|
|
make -f makefile.libretro platform=$FORMAT_COMPILER_TARGET -j$JOBS clean || die "Failed to clean Final Burn Alpha Cores CPS1"
|
|
|
|
make -f makefile.libretro platform=$FORMAT_COMPILER_TARGET -j$JOBS || die "Failed to build Final Burn Alpha Cores CPS1"
|
2013-05-18 00:11:06 +00:00
|
|
|
cp fb_alpha_libretro$FORMAT.${FORMAT_EXT} $RARCH_DIST_DIR/fba_cores_cps1_libretro$FORMAT.${FORMAT_EXT}
|
2013-04-29 21:10:43 +00:00
|
|
|
cd ../../
|
|
|
|
|
|
|
|
echo "=== Building Final Burn Alpha Cores (CPS2) ==="
|
2013-12-12 23:54:30 +00:00
|
|
|
cd ../../
|
|
|
|
cd svn-current/trunk
|
2013-04-29 21:10:43 +00:00
|
|
|
cd fbacores/cps2
|
|
|
|
make -f makefile.libretro platform=$FORMAT_COMPILER_TARGET -j$JOBS clean || die "Failed to clean Final Burn Alpha Cores CPS2"
|
|
|
|
make -f makefile.libretro platform=$FORMAT_COMPILER_TARGET -j$JOBS || die "Failed to build Final Burn Alpha Cores CPS2"
|
2013-12-12 23:54:30 +00:00
|
|
|
cp fb_alpha_libretro$FORMAT.${FORMAT_EXT} $RARCH_DIST_DIR/fba_cores_cps2_libretro$FORMAT.${FORMAT_EXT}
|
2013-04-29 21:10:43 +00:00
|
|
|
cd ../../
|
|
|
|
|
|
|
|
echo "=== Building Final Burn Alpha Cores (NeoGeo) ==="
|
2013-12-12 23:54:30 +00:00
|
|
|
cd ../../
|
|
|
|
cd svn-old/trunk
|
2013-04-29 21:10:43 +00:00
|
|
|
cd fbacores/neogeo
|
|
|
|
make -f makefile.libretro platform=$FORMAT_COMPILER_TARGET -j$JOBS clean || die "Failed to clean Final Burn Alpha Cores NeoGeo"
|
|
|
|
make -f makefile.libretro platform=$FORMAT_COMPILER_TARGET -j$JOBS || die "Failed to build Final Burn Alpha Cores NeoGeo"
|
2013-05-18 00:11:06 +00:00
|
|
|
cp libretro$FORMAT.${FORMAT_EXT} $RARCH_DIST_DIR/fba_cores_neo_libretro$FORMAT.${FORMAT_EXT}
|
2013-04-29 21:10:43 +00:00
|
|
|
else
|
|
|
|
echo "Final Burn Alpha not fetched, skipping ..."
|
|
|
|
fi
|
|
|
|
}
|