This commit is contained in:
twinaphex 2014-08-14 21:50:16 +02:00
parent 45ec002a06
commit b046eae103
3 changed files with 18 additions and 0 deletions

View File

@ -513,6 +513,22 @@ build_libretro_prosystem() {
fi
}
build_libretro_o2em() {
cd "${BASE_DIR}"
if [ -d 'libretro-o2em' ]; then
echo '=== Building o2em ==='
cd libretro-o2em/
if [ -z "${NOCLEAN}" ]; then
"${MAKE}" -f Makefile platform="${FORMAT_COMPILER_TARGET}" ${COMPILER} "-j${JOBS}" clean || die 'Failed to build o2em'
fi
"${MAKE}" -f Makefile platform="${FORMAT_COMPILER_TARGET}" ${COMPILER} "-j${JOBS}" || die 'Failed to build o2em'
cp "o2em_libretro${FORMAT}.${FORMAT_EXT}" "${RARCH_DIST_DIR}"
else
echo 'o2em not fetched, skipping ...'
fi
}
build_libretro_virtualjaguar() {
cd "${BASE_DIR}"
if [ -d 'libretro-virtualjaguar' ]; then

View File

@ -151,4 +151,5 @@ else
build_libretro_ffmpeg
build_libretro_3dengine
build_libretro_ppsspp
build_libretro_o2em
fi

View File

@ -171,3 +171,4 @@ fetch_project "$REPO_BASE/libretro/libretro-ppsspp.git" "libretro-ppsspp" "libre
fetch_subproject "$REPO_BASE/libretro/ppsspp-native.git" "libretro-ppsspp" "native" "libretro/ppsspp/native"
fetch_subproject "$REPO_BASE/libretro/ppsspp-ffmpeg.git" "libretro-ppsspp" "ffmpeg" "libretro/ppsspp/ffmpeg"
fetch_project "$REPO_BASE/libretro/prosystem-libretro.git" "libretro-prosystem" "libretro/prosystem"
fetch_project "$REPO_BASE/libretro/libretro-o2em.git" "libretro-o2em" "libretro/o2em"