mirror of
https://github.com/libretro/libretro-super
synced 2024-11-28 20:14:22 +00:00
Update Stonesoup build rules
This commit is contained in:
parent
69d6f3c0c4
commit
d4721a658f
@ -108,7 +108,7 @@ build_libretro_generic_makefile() {
|
|||||||
cd ${2}
|
cd ${2}
|
||||||
|
|
||||||
if [ -z "${NOCLEAN}" ]; then
|
if [ -z "${NOCLEAN}" ]; then
|
||||||
"${MAKE}" -f ${3} ${5} platform="${4}" ${COMPILER} "-j${JOBS}" clean || die "Failed to build ${1}"
|
"${MAKE}" -f ${3} platform="${4}" ${COMPILER} "-j${JOBS}" clean || die "Failed to build ${1}"
|
||||||
fi
|
fi
|
||||||
"${MAKE}" -f ${3} platform="${4}" ${COMPILER} "-j${JOBS}" || die "Failed to build ${1}"
|
"${MAKE}" -f ${3} platform="${4}" ${COMPILER} "-j${JOBS}" || die "Failed to build ${1}"
|
||||||
cp "${1}_libretro${FORMAT}.${FORMAT_EXT}" "${RARCH_DIST_DIR}"
|
cp "${1}_libretro${FORMAT}.${FORMAT_EXT}" "${RARCH_DIST_DIR}"
|
||||||
@ -117,7 +117,25 @@ build_libretro_generic_makefile() {
|
|||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
build_libretro_generic_makefile_with_target() {
|
||||||
|
cd "${BASE_DIR}"
|
||||||
|
if [ -d "libretro-${1}" ]; then
|
||||||
|
echo "=== Building ${1} ==="
|
||||||
|
cd libretro-${1}
|
||||||
|
cd ${2}
|
||||||
|
|
||||||
|
if [ -z "${NOCLEAN}" ]; then
|
||||||
|
"${MAKE}" -f ${3} ${5} platform="${4}" ${COMPILER} "-j${JOBS}" clean || die "Failed to build ${1}"
|
||||||
|
fi
|
||||||
|
"${MAKE}" -f ${3} ${5} platform="${4}" ${COMPILER} "-j${JOBS}" || die "Failed to build ${1}"
|
||||||
|
cp "${1}_libretro${FORMAT}.${FORMAT_EXT}" "${RARCH_DIST_DIR}"
|
||||||
|
else
|
||||||
|
echo "${1} not fetched, skipping ..."
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
build_libretro_stonesoup() {
|
build_libretro_stonesoup() {
|
||||||
|
build_libretro_generic_makefile_with_target "stonesoup" "crawl-ref" "Makefile.libretro" ${FORMAT_COMPILER_TARGET} "generate"
|
||||||
build_libretro_generic_makefile "stonesoup" "crawl-ref" "Makefile.libretro" ${FORMAT_COMPILER_TARGET}
|
build_libretro_generic_makefile "stonesoup" "crawl-ref" "Makefile.libretro" ${FORMAT_COMPILER_TARGET}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user