PS3: Fix out of tree builds.
Allow GCC to use CELL BE PPU features.
This commit is contained in:
parent
771345da3a
commit
5a2bc12f26
2 changed files with 6 additions and 5 deletions
2
configure
vendored
2
configure
vendored
|
@ -1882,7 +1882,7 @@ case $_host_os in
|
|||
_sdlpath="$PS3DEV/portlibs/ppu:$PS3DEV/portlibs/ppu/bin"
|
||||
|
||||
DEFINES="$DEFINES -DPLAYSTATION3"
|
||||
CXXFLAGS="$CXXFLAGS -mminimal-toc -I$PS3DEV/psl1ght/ppu/include -I$PS3DEV/portlibs/ppu/include"
|
||||
CXXFLAGS="$CXXFLAGS -mcpu=cell -mminimal-toc -I$PS3DEV/psl1ght/ppu/include -I$PS3DEV/portlibs/ppu/include"
|
||||
LDFLAGS="$LDFLAGS -L$PS3DEV/psl1ght/ppu/lib -L$PS3DEV/portlibs/ppu/lib"
|
||||
add_line_to_config_mk 'PLAYSTATION3 = 1'
|
||||
add_line_to_config_h "#define PREFIX \"${prefix}\""
|
||||
|
|
9
ports.mk
9
ports.mk
|
@ -226,12 +226,13 @@ ifdef DIST_FILES_ENGINEDATA
|
|||
cp $(DIST_FILES_ENGINEDATA) ps3pkg/USRDIR/data/
|
||||
endif
|
||||
cp $(DIST_FILES_DOCS) ps3pkg/USRDIR/doc/
|
||||
cp dists/ps3/readme-ps3.md 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 dists/ps3/ICON0.PNG ps3pkg/
|
||||
cp dists/ps3/PIC1.PNG ps3pkg/
|
||||
sfo.py -f dists/ps3/sfo.xml ps3pkg/PARAM.SFO
|
||||
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
|
||||
package_finalize scummvm-ps3.pkg
|
||||
|
||||
# Mark special targets as phony
|
||||
.PHONY: deb bundle osxsnap win32dist install uninstall ps3pkg
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue