Cross configure/make scripts for ps3toolchain based builds.

This commit is contained in:
Bill Currie 2012-08-18 21:33:58 +09:00
parent 6f484ee757
commit cd1e3e5b6f
2 changed files with 19 additions and 0 deletions

View file

@ -0,0 +1,10 @@
#!/bin/sh -x
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
../configure --host=powerpc64-ps3-elf \
--disable-sdl-cd \
--with-endian=big \
SDL_CONFIG=$PS3DEV/portlibs/ppu/bin/sdl-config \
$*

View file

@ -0,0 +1,9 @@
#!/bin/sh -x
HOST_CC=gcc
export HOST_CC
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
make PAK=pak QFCC=qfcc $*