(dist-scripts) add 3DS to dist-cores.sh

This commit is contained in:
aliaspider 2015-09-07 20:01:00 +01:00
parent 3b85e0dd5a
commit 138c3e5014

View File

@ -23,6 +23,11 @@ platform=vita
MAKEFILE_GRIFFIN=yes
EXT=a
# CTR/3DS
elif [ $PLATFORM = "ctr" ] ; then
platform=ctr
EXT=a
# Emscripten
elif [ $PLATFORM = "emscripten" ] ; then
platform=emscripten
@ -156,6 +161,9 @@ for f in *_${platform}.${EXT} ; do
mv -f ../EBOOT.PBP ../pkg/${platform}/cores/${name}_libretro.PBP
elif [ $PLATFORM = "vita" ] ; then
mv -f ../retroarch_${platform}.velf ../pkg/${platform}/${name}_libretro_${platform}.velf
elif [ $PLATFORM = "ctr" ] ; then
mkdir -p ../pkg/3ds/${name}_libretro
mv -f ../retroarch_3ds.3dsx ../pkg/3ds/${name}_libretro/${name}_libretro.3dsx
elif [ $PLATFORM = "ngc" ] ; then
mv -f ../retroarch_${platform}.dol ../pkg/${platform}/${name}_libretro_${platform}.dol
elif [ $PLATFORM = "wii" ] ; then
@ -171,6 +179,8 @@ for f in *_${platform}.${EXT} ; do
rm -f ../retroarchpsp.elf
elif [ $PLATFORM = "vita" ] ; then
rm -f ../retroarch_${platform}.velf ../retroarch_${platform}.elf
elif [ $PLATFORM = "ctr" ] ; then
rm -f ../retroarch_3ds.elf
elif [ $PLATFORM = "ngc" ] ; then
rm -f ../retroarch_${platform}.dol ../retroarch_${platform}.elf ../retroarch_${platform}.elf.map
elif [ $PLATFORM = "wii" ] ; then