From 453681c7c51ca46ffaac426d93ed7eb598843e06 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Fri, 22 Aug 2014 12:38:24 +0200 Subject: [PATCH] Refactor libretro_fceumm --- libretro-build-common.sh | 19 ++++--------------- 1 file changed, 4 insertions(+), 15 deletions(-) diff --git a/libretro-build-common.sh b/libretro-build-common.sh index 9fdf58f7..4acedc3e 100755 --- a/libretro-build-common.sh +++ b/libretro-build-common.sh @@ -473,6 +473,10 @@ build_libretro_pcsx_rearmed() { build_libretro_generic_makefile_rootdir "pcsx_rearmed" "Makefile.libretro" ${FORMAT_COMPILER_TARGET} } +build_libretro_fceumm() { + build_libretro_generic_makefile_rootdir "fceumm" "Makefile.libretro" ${FORMAT_COMPILER_TARGET} +} + build_libretro_mame() { cd "${BASE_DIR}" if [ -d 'libretro-mame' ]; then @@ -627,21 +631,6 @@ build_libretro_vbam() { } -build_libretro_fceumm() { - cd "${BASE_DIR}" - if [ -d 'libretro-fceumm' ]; then - echo '=== Building FCEUmm ===' - cd libretro-fceumm - - if [ -z "${NOCLEAN}" ]; then - "${MAKE}" -f Makefile.libretro platform="${FORMAT_COMPILER_TARGET}" ${COMPILER} "-j${JOBS}" clean || die 'Failed to clean FCEUmm' - fi - "${MAKE}" -f Makefile.libretro platform="${FORMAT_COMPILER_TARGET}" ${COMPILER} "-j${JOBS}" || die 'Failed to build FCEUmm' - cp "fceumm_libretro${FORMAT}.${FORMAT_EXT}" "${RARCH_DIST_DIR}" - else - echo 'FCEUmm not fetched, skipping ...' - fi -} build_libretro_gambatte() { cd "${BASE_DIR}"