2012-08-18 12:33:58 +00:00
|
|
|
#!/bin/sh -x
|
2012-11-29 02:19:09 +00:00
|
|
|
set -e
|
|
|
|
mkdir -p native powerpc64-ps3-elf
|
2012-08-20 01:56:09 +00:00
|
|
|
cd native
|
2012-11-29 02:19:09 +00:00
|
|
|
../../configure \
|
|
|
|
--disable-shared \
|
|
|
|
--without-clients \
|
|
|
|
--without-servers \
|
|
|
|
--with-tools=qfcc,pak
|
2012-08-20 01:56:09 +00:00
|
|
|
cd ../powerpc64-ps3-elf
|
2012-08-18 12:33:58 +00:00
|
|
|
export PS3DEV=/usr/local/ps3dev
|
|
|
|
export PSL1GHT=$PS3DEV
|
|
|
|
export PKG_CONFIG_LIBDIR=$PS3DEV/portlibs/ppu/lib/pkgconfig
|
|
|
|
export PATH=$PS3DEV/spu/bin:$PS3DEV/ppu/bin:$PS3DEV/bin:$PATH
|
2012-08-20 01:56:09 +00:00
|
|
|
../../configure --host=powerpc64-ps3-elf \
|
2012-08-18 12:33:58 +00:00
|
|
|
--disable-sdl-cd \
|
|
|
|
--with-endian=big \
|
|
|
|
SDL_CONFIG=$PS3DEV/portlibs/ppu/bin/sdl-config \
|
|
|
|
$*
|