From 696489556ea48dc16e541b09244892c9577a398e Mon Sep 17 00:00:00 2001 From: "T. Joseph Carter" Date: Wed, 11 Mar 2015 23:24:09 -0700 Subject: [PATCH] Added a "legacy" rule for cores not yet ported to modern libretro-super --- libretro-build-common.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/libretro-build-common.sh b/libretro-build-common.sh index ae59091f..3fcd5c9d 100755 --- a/libretro-build-common.sh +++ b/libretro-build-common.sh @@ -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..."