BUILD: Move the PS3 make targets to a separate file
This commit is contained in:
parent
cb596113a7
commit
bf90ad0467
3 changed files with 29 additions and 30 deletions
27
backends/platform/sdl/ps3/ps3.mk
Normal file
27
backends/platform/sdl/ps3/ps3.mk
Normal file
|
@ -0,0 +1,27 @@
|
|||
ps3pkg: $(EXECUTABLE)
|
||||
$(STRIP) $(EXECUTABLE)
|
||||
sprxlinker $(EXECUTABLE)
|
||||
mkdir -p ps3pkg/USRDIR/data/
|
||||
mkdir -p ps3pkg/USRDIR/doc/
|
||||
mkdir -p ps3pkg/USRDIR/saves/
|
||||
make_self_npdrm "$(EXECUTABLE)" ps3pkg/USRDIR/EBOOT.BIN UP0001-SCUM12000_00-0000000000000000
|
||||
cp $(DIST_FILES_THEMES) ps3pkg/USRDIR/data/
|
||||
ifdef DIST_FILES_ENGINEDATA
|
||||
cp $(DIST_FILES_ENGINEDATA) ps3pkg/USRDIR/data/
|
||||
endif
|
||||
cp $(DIST_FILES_DOCS) ps3pkg/USRDIR/doc/
|
||||
cp $(srcdir)/dists/ps3/readme-ps3.md ps3pkg/USRDIR/doc/
|
||||
cp $(srcdir)/backends/vkeybd/packs/vkeybd_default.zip ps3pkg/USRDIR/data/
|
||||
cp $(srcdir)/backends/vkeybd/packs/vkeybd_small.zip ps3pkg/USRDIR/data/
|
||||
cp $(srcdir)/dists/ps3/ICON0.PNG ps3pkg/
|
||||
cp $(srcdir)/dists/ps3/PIC1.PNG ps3pkg/
|
||||
sfo.py -f $(srcdir)/dists/ps3/sfo.xml ps3pkg/PARAM.SFO
|
||||
pkg.py --contentid UP0001-SCUM12000_00-0000000000000000 ps3pkg/ scummvm-ps3.pkg
|
||||
|
||||
ps3run: $(EXECUTABLE)
|
||||
$(STRIP) $(EXECUTABLE)
|
||||
sprxlinker $(EXECUTABLE)
|
||||
make_self $(EXECUTABLE) $(EXECUTABLE).self
|
||||
ps3load $(EXECUTABLE).self
|
||||
|
||||
.PHONY: ps3pkg ps3run
|
1
configure
vendored
1
configure
vendored
|
@ -2798,6 +2798,7 @@ if test -n "$_host"; then
|
|||
_timidity=no
|
||||
_vkeybd=yes
|
||||
_eventrec=no
|
||||
_port_mk="backends/platform/sdl/ps3/ps3.mk"
|
||||
;;
|
||||
psp)
|
||||
_backend="psp"
|
||||
|
|
31
ports.mk
31
ports.mk
|
@ -341,34 +341,5 @@ ifdef DIST_FILES_ENGINEDATA
|
|||
endif
|
||||
cp $(DIST_FILES_DOCS) $(AOS4PATH)
|
||||
|
||||
#
|
||||
# PlayStation 3 specific
|
||||
#
|
||||
ps3pkg: $(EXECUTABLE)
|
||||
$(STRIP) $(EXECUTABLE)
|
||||
sprxlinker $(EXECUTABLE)
|
||||
mkdir -p ps3pkg/USRDIR/data/
|
||||
mkdir -p ps3pkg/USRDIR/doc/
|
||||
mkdir -p ps3pkg/USRDIR/saves/
|
||||
make_self_npdrm "$(EXECUTABLE)" ps3pkg/USRDIR/EBOOT.BIN UP0001-SCUM12000_00-0000000000000000
|
||||
cp $(DIST_FILES_THEMES) ps3pkg/USRDIR/data/
|
||||
ifdef DIST_FILES_ENGINEDATA
|
||||
cp $(DIST_FILES_ENGINEDATA) ps3pkg/USRDIR/data/
|
||||
endif
|
||||
cp $(DIST_FILES_DOCS) ps3pkg/USRDIR/doc/
|
||||
cp $(srcdir)/dists/ps3/readme-ps3.md ps3pkg/USRDIR/doc/
|
||||
cp $(srcdir)/backends/vkeybd/packs/vkeybd_default.zip ps3pkg/USRDIR/data/
|
||||
cp $(srcdir)/backends/vkeybd/packs/vkeybd_small.zip ps3pkg/USRDIR/data/
|
||||
cp $(srcdir)/dists/ps3/ICON0.PNG ps3pkg/
|
||||
cp $(srcdir)/dists/ps3/PIC1.PNG ps3pkg/
|
||||
sfo.py -f $(srcdir)/dists/ps3/sfo.xml ps3pkg/PARAM.SFO
|
||||
pkg.py --contentid UP0001-SCUM12000_00-0000000000000000 ps3pkg/ scummvm-ps3.pkg
|
||||
|
||||
ps3run: $(EXECUTABLE)
|
||||
$(STRIP) $(EXECUTABLE)
|
||||
sprxlinker $(EXECUTABLE)
|
||||
make_self $(EXECUTABLE) $(EXECUTABLE).self
|
||||
ps3load $(EXECUTABLE).self
|
||||
|
||||
# Mark special targets as phony
|
||||
.PHONY: deb bundle osxsnap win32dist install uninstall ps3pkg ps3run
|
||||
.PHONY: deb bundle osxsnap win32dist install uninstall
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue