Add VecX building to libretro-build.sh

This commit is contained in:
twinaphex 2014-07-31 06:28:38 +02:00
parent 84e5298946
commit 41efa1c67f
2 changed files with 17 additions and 0 deletions

View File

@ -467,6 +467,22 @@ build_libretro_s9x_next() {
fi
}
build_libretro_vecx() {
cd "${BASE_DIR}"
if [ -d 'libretro-vecx' ]; then
echo '=== Building VecX ==='
cd libretro-vecx/
if [ -z "${NOCLEAN}" ]; then
"${MAKE}" -f Makefile.libretro platform="${FORMAT_COMPILER_TARGET_ALT}" ${COMPILER} "-j${JOBS}" clean || die 'Failed to build VecX'
fi
"${MAKE}" -f Makefile.libretro platform="${FORMAT_COMPILER_TARGET_ALT}" ${COMPILER} "-j${JOBS}" || die 'Failed to build VecX'
cp "vecx_libretro${FORMAT}.${FORMAT_EXT}" "${RARCH_DIST_DIR}"
else
echo 'VecX not fetched, skipping ...'
fi
}
build_libretro_genplus() {
cd "${BASE_DIR}"
if [ -d 'libretro-genplus' ]; then

View File

@ -147,4 +147,5 @@ else
build_libretro_ffmpeg
build_libretro_dinothawr
build_libretro_3dengine
build_libretro_vecx
fi