From 9a40cf4f35f49b4392272a37a5574da1fa31f980 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9s=20Su=C3=A1rez?= Date: Wed, 30 Jul 2014 17:22:58 -0500 Subject: [PATCH] Remove duplicated mednafen snes and fix the copy command --- libretro-build-common.sh | 22 ++-------------------- 1 file changed, 2 insertions(+), 20 deletions(-) diff --git a/libretro-build-common.sh b/libretro-build-common.sh index b1acc24d..9493b70b 100755 --- a/libretro-build-common.sh +++ b/libretro-build-common.sh @@ -175,7 +175,7 @@ build_libretro_pcsx_rearmed_interpreter() { fi } -build_libretro_beetle_bsnes() +build_libretro_beetle_snes() { cd "${BASE_DIR}" if [ -d 'libretro-beetle-bsnes' ]; then @@ -184,7 +184,7 @@ build_libretro_beetle_bsnes() "${MAKE}" platform="${FORMAT_COMPILER_TARGET}" ${COMPILER} "-j${JOBS}" clean || die "Failed to clean beetle/bsnes" "${MAKE}" platform="${FORMAT_COMPILER_TARGET}" ${COMPILER} "-j${JOBS}" || die "Failed to build beetle/bsnes" - cp "mednafen_bsnes_libretro${FORMAT}.${FORMAT_EXT}" "${RARCH_DIST_DIR}" + cp "mednafen_snes_libretro${FORMAT}.${FORMAT_EXT}" "${RARCH_DIST_DIR}" else echo 'Beetle bSNES not fetched, skipping ...' fi @@ -325,24 +325,6 @@ build_libretro_beetle_psx() fi } -build_libretro_beetle_snes() -{ - cd "${BASE_DIR}" - if [ -d 'libretro-mednafen' ]; then - echo '=== Building Beetle bSNES ===' - cd libretro-mednafen - - for core in snes; do - if [ -z "${NOCLEAN}" ]; then - "${MAKE}" core="${core}" platform="${FORMAT_COMPILER_TARGET}" ${COMPILER} "-j${JOBS}" clean || die "Failed to clean mednafen/${core}" - fi - "${MAKE}" core="${core}" platform="${FORMAT_COMPILER_TARGET}" ${COMPILER} "-j${JOBS}" || die "Failed to build mednafen/${core}" - cp "mednafen_${core//-/_}_libretro${FORMAT}.${FORMAT_EXT}" "${RARCH_DIST_DIR}" - done - else - echo 'Beetle bSNES not fetched, skipping ...' - fi -} build_libretro_2048() {