libretro-build.sh - Add Yabause

This commit is contained in:
twinaphex 2014-07-13 00:41:34 +02:00
parent 61ca23d445
commit 63426c2167
2 changed files with 17 additions and 0 deletions

View File

@ -1066,6 +1066,22 @@ build_libretro_picodrive() {
fi
}
build_libretro_yabause() {
cd "${BASE_DIR}"
if [ -d 'libretro-yabause' ]; then
echo '=== Building Yabause ==='
cd libretro-yabause/libretro
if [ -z "${NOCLEAN}" ]; then
"${MAKE}" -f Makefile platform="${FORMAT_COMPILER_TARGET}" ${COMPILER} "-j${JOBS}" clean || die 'Failed to clean Yabause'
fi
"${MAKE}" -f Makefile platform="${FORMAT_COMPILER_TARGET}" ${COMPILER} "-j${JOBS}" || die 'Failed to build Yabause'
cp "yabause_libretro${FORMAT}.${FORMAT_EXT}" "${RARCH_DIST_DIR}"
else
echo 'Yabause not fetched, skipping ...'
fi
}
create_dist_dir() {
if [ -d "${RARCH_DIST_DIR}" ]; then
echo "Directory ${RARCH_DIST_DIR} already exists, skipping creation..."

View File

@ -141,6 +141,7 @@ else
build_libretro_instancingviewer
build_libretro_instancingviewer_camera
build_libretro_mupen64
build_libretro_yabause
build_libretro_ffmpeg
build_libretro_dinothawr
build_libretro_3dengine