Add blueMSX and fMSX compilation to libretro-build.sh

This commit is contained in:
twinaphex 2014-07-07 22:47:26 +02:00
parent 5587c692f2
commit 7c2ffda5ba
2 changed files with 32 additions and 0 deletions

View File

@ -343,6 +343,36 @@ build_libretro_beetle_snes()
fi fi
} }
build_libretro_fmsx()
{
cd "${BASE_DIR}"
if [ -d 'libretro-fmsx' ]; then
echo '=== Building fMSX ==='
cd libretro-fmsx
"${MAKE}" platform="${FORMAT_COMPILER_TARGET}" ${COMPILER} "-j${JOBS}" clean || die "Failed to clean fMSX"
"${MAKE}" platform="${FORMAT_COMPILER_TARGET}" ${COMPILER} "-j${JOBS}" || die "Failed to build fMSX"
cp "fmsx_libretro${FORMAT}.${FORMAT_EXT}" "${RARCH_DIST_DIR}"
else
echo 'fMSX not fetched, skipping ...'
fi
}
build_libretro_bluemsx()
{
cd "${BASE_DIR}"
if [ -d 'libretro-bluemsx' ]; then
echo '=== Building blueMSX ==='
cd libretro-bluemsx
"${MAKE}" -f Makefile.libretro platform="${FORMAT_COMPILER_TARGET}" ${COMPILER} "-j${JOBS}" clean || die "Failed to clean blueMSX"
"${MAKE}" -f Makefile.libretro platform="${FORMAT_COMPILER_TARGET}" ${COMPILER} "-j${JOBS}" || die "Failed to build blueMSX"
cp "bluemsx_libretro${FORMAT}.${FORMAT_EXT}" "${RARCH_DIST_DIR}"
else
echo 'blueMSX not fetched, skipping ...'
fi
}
build_libretro_stella() { build_libretro_stella() {
cd "${BASE_DIR}" cd "${BASE_DIR}"
if [ -d 'libretro-stella' ]; then if [ -d 'libretro-stella' ]; then

View File

@ -94,6 +94,8 @@ mkdir -p "$RARCH_DIST_DIR"
if [ $1 ]; then if [ $1 ]; then
$1 $1
else else
build_libretro_bluemsx
build_libretro_fmsx
build_libretro_bsnes_cplusplus98 build_libretro_bsnes_cplusplus98
build_libretro_bsnes build_libretro_bsnes
build_libretro_beetle_lynx build_libretro_beetle_lynx