RetroArch/dist-scripts/ps3-cores-cex-355.sh

35 lines
1.2 KiB
Bash
Raw Normal View History

2013-02-01 23:58:57 +00:00
#!/bin/sh
2013-05-26 23:28:32 +00:00
RARCH_VERSION=0.9.9
2013-02-01 23:58:57 +00:00
make -C ../ -f Makefile.ps3.salamander clean || exit 1
make -C ../ -f Makefile.ps3.rgl clean || exit 1
make -C ../ -f Makefile.ps3 clean || exit 1
make -C ../ -f Makefile.ps3.salamander || exit 1
make -C ../ -f Makefile.ps3.rgl || exit 1
EXE_PATH=/usr/local/cell/host-win32/bin
for f in *_ps3.a ; do
name=`echo "$f" | sed 's/\(_libretro_ps3\|\).a$//'`
whole_archive=
if [ $name = "nxengine" ] ; then
echo "NXEngine found, applying whole archive linking..."
whole_archive="WHOLE_ARCHIVE_LINK=1"
echo $name yes
fi
2013-02-01 23:58:57 +00:00
cp -f "$f" ../libretro_ps3.a
make -C ../ -f Makefile.ps3 $whole_archive -j3 || exit 1
2013-02-02 00:56:56 +00:00
make_self_wc ../retroarch_ps3.elf ../CORE.SELF
mv -f ../CORE.SELF ../ps3/pkg/USRDIR/cores/"${name}_libretro_ps3.SELF"
2013-02-02 00:56:56 +00:00
rm -f ../retroarch_ps3.elf ../retroarch_ps3.self ../CORE.SELF
2013-02-01 23:58:57 +00:00
done
cp -r ../media/rmenu/*.png ../ps3/pkg/USRDIR/cores/borders/Menu/
make -C ../ -f Makefile.shaders deploy-ps3
2013-02-02 00:56:56 +00:00
make_self_wc ../retroarch-salamander_ps3.elf ../ps3/pkg/USRDIR/EBOOT.BIN
2013-02-01 23:58:57 +00:00
rm -rf ../retroarch-salamander_ps3.elf
2013-02-09 20:32:11 +00:00
python2 ../ps3/ps3py/pkg.py --contentid UP0001-SSNE10000_00-0000000000000001 ../ps3/pkg/ retroarch-ps3-cfw-$RARCH_VERSION.pkg