Added a "legacy" rule for cores not yet ported to modern libretro-super

This commit is contained in:
T. Joseph Carter 2015-03-11 23:24:09 -07:00
parent f9abe4e893
commit 696489556e

View File

@ -296,7 +296,15 @@ libretro_build_core() {
echo "Building ${1}..."
build_makefile $1
;;
legacy)
eval "core_build_legacy=\$libretro_${1}_build_legacy"
if [ -n "$core_build_legacy" ]; then
echo "Warning: $1 hasn't been ported to a modern build rule yet."
echo " Will build it using legacy \"$core_build_legacy\"..."
$core_build_legacy
fi
;;
none)
echo "Don't have a build rule for $1, skipping..."