Add wiiu rules

This commit is contained in:
twinaphex 2016-11-06 23:32:25 +01:00
parent 93c311db7a
commit 9a2b3247b0
2 changed files with 20 additions and 1 deletions

17
libretro-build-wiiu.sh Executable file
View file

@ -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 $@

View file

@ -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