mirror of
https://github.com/libretro/RetroArch
synced 2025-03-01 16:13:40 +00:00
Dist-cores support PS2 platform
This commit is contained in:
parent
99e5791ae4
commit
f7f602c1f7
@ -95,9 +95,11 @@ run:
|
||||
|
||||
debug: clean prepare all run
|
||||
|
||||
release: clean all
|
||||
package:
|
||||
ps2-packer $(EE_BIN) $(TARGET_RELEASE)
|
||||
|
||||
release: clean all package
|
||||
|
||||
#Specific file name and output per IRX Module
|
||||
$(EE_IRX_OBJ):
|
||||
$(EE_BIN2O) $(EE_GPVAL) $(IRX_DIR)/$(@:.o=.irx) $@ $(@:.o=_irx)
|
||||
|
@ -18,6 +18,13 @@ cd ..
|
||||
LDFLAGS=-L. ./configure --disable-dynamic
|
||||
cd dist-scripts
|
||||
|
||||
elif [ $PLATFORM = "ps2" ] ; then
|
||||
platform=ps2
|
||||
SALAMANDER=NO
|
||||
EXT=a
|
||||
|
||||
mkdir -p ../pkg/${platform}/cores/
|
||||
|
||||
elif [ $PLATFORM = "psp1" ] ; then
|
||||
platform=psp1
|
||||
SALAMANDER=yes
|
||||
@ -230,7 +237,9 @@ for f in `ls -v *_${platform}.${EXT}`; do
|
||||
fi
|
||||
|
||||
# Do manual executable step
|
||||
if [ $PLATFORM = "dex-ps3" ] ; then
|
||||
if [ $PLATFORM = "ps2" ] ; then
|
||||
make -C ../ -f Makefile.${platform} package -j3
|
||||
elif [ $PLATFORM = "dex-ps3" ] ; then
|
||||
$MAKE_FSELF_NPDRM -c ../retroarch_${platform}.elf ../CORE.SELF
|
||||
elif [ $PLATFORM = "cex-ps3" ] ; then
|
||||
$SCETOOL_PATH $SCETOOL_FLAGS_CORE ../retroarch_${platform}.elf ../CORE.SELF
|
||||
@ -253,6 +262,8 @@ for f in `ls -v *_${platform}.${EXT}`; do
|
||||
cp -fv ../../dist/info/"${name}_libretro.info" ../pkg/${platform}/SSNE10000/USRDIR/cores/info/"${name}_libretro.info"
|
||||
fi
|
||||
fi
|
||||
elif [ $PLATFORM = "ps2" ] ; then
|
||||
mv -f ../retroarchps2-release.elf ../pkg/${platform}/cores/retroarchps2_${name}.elf
|
||||
elif [ $PLATFORM = "psp1" ] ; then
|
||||
mv -f ../EBOOT.PBP ../pkg/${platform}/cores/${name}_libretro.PBP
|
||||
elif [ $PLATFORM = "vita" ] ; then
|
||||
@ -288,6 +299,8 @@ for f in `ls -v *_${platform}.${EXT}`; do
|
||||
# Remove executable files
|
||||
if [ $platform = "ps3" ] ; then
|
||||
rm -f ../retroarch_${platform}.elf ../retroarch_${platform}.self ../CORE.SELF
|
||||
elif [ $PLATFORM = "ps2" ] ; then
|
||||
rm -f ../retroarchps2.elf
|
||||
elif [ $PLATFORM = "psp1" ] ; then
|
||||
rm -f ../retroarchpsp.elf
|
||||
elif [ $PLATFORM = "vita" ] ; then
|
||||
|
Loading…
x
Reference in New Issue
Block a user