From 9a2b3247b0bb8117e081e2bba8e1a24099b9b2e5 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Sun, 6 Nov 2016 23:32:25 +0100 Subject: [PATCH] Add wiiu rules --- libretro-build-wiiu.sh | 17 +++++++++++++++++ libretro-build.sh | 4 +++- 2 files changed, 20 insertions(+), 1 deletion(-) create mode 100755 libretro-build-wiiu.sh diff --git a/libretro-build-wiiu.sh b/libretro-build-wiiu.sh new file mode 100755 index 00000000..8dc71cf7 --- /dev/null +++ b/libretro-build-wiiu.sh @@ -0,0 +1,17 @@ +#! /usr/bin/env bash +# vim: set ts=3 sw=3 noet ft=sh : bash + +SCRIPT="${0#./}" +BASE_DIR="${SCRIPT%/*}" +WORKDIR="$PWD" + +if [ "$BASE_DIR" = "$SCRIPT" ]; then + BASE_DIR="$WORKDIR" +else + if [[ "$0" != /* ]]; then + # Make the path absolute + BASE_DIR="$WORKDIR/$BASE_DIR" + fi +fi + +platform=wiiu ${BASE_DIR}/libretro-build.sh $@ diff --git a/libretro-build.sh b/libretro-build.sh index 4441fbe5..41af98cb 100755 --- a/libretro-build.sh +++ b/libretro-build.sh @@ -155,9 +155,11 @@ build_default_cores() { fi libretro_build_core 2048 libretro_build_core bluemsx + if [ $platform != "psp1" ] && [ $platform != "ngc" ] && [ $platform != "wii" ] && [ $platform != "ps3" ] && [ $platform != "sncps3" ] && [ $platform != "vita" ]; then libretro_build_core dosbox fi + libretro_build_core snes9x2005 if [ $platform != "psp1" ]; then # Excluded for binary size reasons @@ -208,7 +210,7 @@ build_default_cores() { libretro_build_core lutro fi - if [ $platform != "ps3" ] && [ $platform != "sncps3" ] && [ $platform != "wii" ] && [ $platform != "ngc" ] && [ $platform != "vita" ]; then + if [ $platform != "ps3" ] && [ $platform != "sncps3" ] && [ $platform != "wii" ] && [ $platform != "wiiu" ] && [ $platform != "ngc" ] && [ $platform != "vita" ]; then build_default_cores_little_endian_only build_default_cores_libretro_gl