Simplify Desmume build commands

This commit is contained in:
twinaphex 2013-07-14 02:12:53 +02:00
parent 87c7b3fee9
commit 8ff4a76ee4

View File

@ -222,15 +222,8 @@ build_libretro_desmume()
if [ -d "libretro-desmume" ]; then
echo "=== Building Desmume ==="
cd libretro-desmume
if [ "$X86" = true ] || [ "$ARMV7" = true ]; then
echo "=== Building Desmume with JIT recompiler ==="
${MAKE} -f Makefile.libretro platform=${FORMAT_COMPILER_TARGET} DESMUME_JIT=1 -j$JOBS clean || die "Failed to clean Desmume"
${MAKE} -f Makefile.libretro platform=${FORMAT_COMPILER_TARGET} DESMUME_JIT=1 -j$JOBS || die "Failed to build Desmume"
else
${MAKE} -f Makefile.libretro clean
${MAKE} -f Makefile.libretro platform=$FORMAT_COMPILER_TARGET -j$JOBS
fi
${MAKE} -f Makefile.libretro platform=${FORMAT_COMPILER_TARGET} -j$JOBS clean || die "Failed to clean Desmume"
${MAKE} -f Makefile.libretro platform=${FORMAT_COMPILER_TARGET} -j$JOBS || die "Failed to build Desmume"
cp desmume_libretro${FORMAT}.${FORMAT_EXT} "$RARCH_DIST_DIR"
else
echo "Desmume not fetched, skipping ..."