Skip to content

Commit

Permalink
PS3: Fix out of tree builds.
Browse files Browse the repository at this point in the history
Allow GCC to use CELL BE PPU features.
  • Loading branch information
bgK committed Jun 25, 2011
1 parent 771345d commit 5a2bc12
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion configure
Expand Up @@ -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}\""
Expand Down
9 changes: 5 additions & 4 deletions ports.mk
Expand Up @@ -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
Expand Down

0 comments on commit 5a2bc12

Please sign in to comment.