mirror of
https://github.com/libretro/libretro-super
synced 2025-02-21 03:41:01 +00:00
Update libretro-build-wii.sh
This commit is contained in:
parent
a2e4e7684e
commit
c8dcc7f761
@ -14,44 +14,32 @@ else
|
||||
fi
|
||||
fi
|
||||
|
||||
RARCH_DIR=$BASE_DIR/dist
|
||||
RARCH_DIST_DIR=$RARCH_DIR/wii
|
||||
FORMAT=_wii
|
||||
FORMAT_COMPILER_TARGET=wii
|
||||
FORMAT_COMPILER_TARGET_ALT=wii
|
||||
FORMAT_EXT=a
|
||||
JOBS=7
|
||||
MAKE=make
|
||||
# The Wii build rules have all been moved to libretro-build.sh
|
||||
|
||||
. "$BASE_DIR/libretro-build-common-gx.sh"
|
||||
. "$BASE_DIR/libretro-build-common.sh"
|
||||
|
||||
if [ $1 ]; then
|
||||
$1
|
||||
if [[ -z "$1" ]]; then
|
||||
WANT_CORES=" \
|
||||
bluemsx \
|
||||
fceumm \
|
||||
fmsx \
|
||||
gambatte \
|
||||
genesis_plus_gx \
|
||||
mednafen_gba \
|
||||
mednafen_lynx \
|
||||
mednafen_ngp \
|
||||
mednafen_pce_fast \
|
||||
mednafen_pcfx \
|
||||
mednafen_supergrafx \
|
||||
mednafen_wswan \
|
||||
mednafen_vb \
|
||||
nestopia \
|
||||
nxengine \
|
||||
quicknes \
|
||||
prboom \
|
||||
snes9x_next \
|
||||
vba_next \
|
||||
tyrquake"
|
||||
else
|
||||
libretro_build_core bluemsx
|
||||
libretro_build_core fceumm
|
||||
libretro_build_core fmsx
|
||||
libretro_build_core gambatte
|
||||
libretro_build_core genesis_plus_gx
|
||||
libretro_build_core mednafen_bsnes
|
||||
libretro_build_core mednafen_gba
|
||||
libretro_build_core mednafen_lynx
|
||||
libretro_build_core mednafen_ngp
|
||||
libretro_build_core mednafen_pce_fast
|
||||
libretro_build_core mednafen_pcfx
|
||||
libretro_build_core mednafen_psx
|
||||
libretro_build_core mednafen_supergrafx
|
||||
libretro_build_core mednafen_vb
|
||||
libretro_build_core mednafen_wswan
|
||||
libretro_build_core nestopia
|
||||
libretro_build_core nxengine
|
||||
libretro_build_core prboom
|
||||
libretro_build_core quicknes
|
||||
libretro_build_core snes9x_next
|
||||
libretro_build_core tyrquake
|
||||
libretro_build_core vba_next
|
||||
#libretro_build_core yabause
|
||||
|
||||
build_libretro_fba # not in libretro-build-common!
|
||||
WANT_CORES="$@"
|
||||
fi
|
||||
|
||||
platform=wii ${BASE_DIR}/libretro-build.sh ${WANT_CORES}
|
||||
|
@ -45,6 +45,16 @@ case "$platform" in
|
||||
CC="ppu-lv2-gcc.exe"
|
||||
CXX="ppu-lv2-g++.exe"
|
||||
;;
|
||||
|
||||
wii)
|
||||
DIST_DIR="wii"
|
||||
FORMAT_EXT=a
|
||||
FORMAT_COMPILER_TARGET=wii
|
||||
FORMAT=_wii
|
||||
|
||||
CC="$DEVKITPPC/bin/powerpc-eabi-gcc$BINARY_EXT"
|
||||
CXX="$DEVKITPPC/bin/powerpc-eabi-g++$BINARY_EXT"
|
||||
;;
|
||||
|
||||
sncps3)
|
||||
DIST_DIR="ps3"
|
||||
@ -113,12 +123,14 @@ case "$platform" in
|
||||
*BSD*)
|
||||
platform=bsd
|
||||
FORMAT_EXT="so"
|
||||
BINARY_EXT=""
|
||||
FORMAT_COMPILER_TARGET="unix"
|
||||
DIST_DIR="bsd"
|
||||
;;
|
||||
osx|*Darwin*)
|
||||
platform=osx
|
||||
FORMAT_EXT="dylib"
|
||||
BINARY_EXT=""
|
||||
FORMAT_COMPILER_TARGET="osx"
|
||||
case "$ARCH" in
|
||||
x86_64|i386|ppc*)
|
||||
@ -132,12 +144,14 @@ case "$platform" in
|
||||
win|*mingw32*|*MINGW32*|*MSYS_NT*)
|
||||
platform=win
|
||||
FORMAT_EXT="dll"
|
||||
BINARY_EXT=".exe"
|
||||
FORMAT_COMPILER_TARGET="win"
|
||||
DIST_DIR="win_x86"
|
||||
;;
|
||||
win64|*mingw64*|*MINGW64*)
|
||||
platform=win
|
||||
FORMAT_EXT="dll"
|
||||
BINARY_EXT=".exe"
|
||||
FORMAT_COMPILER_TARGET="win"
|
||||
DIST_DIR="win_x64"
|
||||
;;
|
||||
@ -184,6 +198,7 @@ case "$platform" in
|
||||
;;
|
||||
*)
|
||||
FORMAT_EXT="so"
|
||||
BINARY_EXT=""
|
||||
FORMAT_COMPILER_TARGET="unix"
|
||||
DIST_DIR="unix"
|
||||
;;
|
||||
|
Loading…
x
Reference in New Issue
Block a user