From cc2b95b068b4dc7cc8dbb33578589d9d3316869c Mon Sep 17 00:00:00 2001 From: Bastien Bouclet Date: Fri, 27 Apr 2012 14:12:55 +0200 Subject: [PATCH] PS3: Fix build using lastest ps3toolchain --- configure | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/configure b/configure index 46b7308cebb..88dc161595e 100755 --- a/configure +++ b/configure @@ -1403,6 +1403,10 @@ ps3) echo "Please set PS3DEV in your environment. export PS3DEV=" exit 1 fi + if test -z "$PSL1GHT"; then + echo "Please set PSL1GHT in your environment. export PSL1GHT=" + exit 1 + fi ;; psp) if test -z "$PSPDEV"; then @@ -2068,8 +2072,8 @@ case $_host_os in _sdlpath="$PS3DEV/portlibs/ppu:$PS3DEV/portlibs/ppu/bin" DEFINES="$DEFINES -DPLAYSTATION3" - 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" + CXXFLAGS="$CXXFLAGS -mcpu=cell -mminimal-toc -I$PSL1GHT/ppu/include -I$PS3DEV/portlibs/ppu/include" + LDFLAGS="$LDFLAGS -L$PSL1GHT/ppu/lib -L$PS3DEV/portlibs/ppu/lib" add_line_to_config_mk 'PLAYSTATION3 = 1' add_line_to_config_h "#define PREFIX \"${prefix}\"" ;;