mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 15:22:04 +00:00
Cross configure/make scripts for ps3toolchain based builds.
This commit is contained in:
parent
6f484ee757
commit
cd1e3e5b6f
2 changed files with 19 additions and 0 deletions
10
tools/cross/ps3-elf/cross-configure.sh
Executable file
10
tools/cross/ps3-elf/cross-configure.sh
Executable 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 \
|
||||
$*
|
9
tools/cross/ps3-elf/cross-make.sh
Executable file
9
tools/cross/ps3-elf/cross-make.sh
Executable 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 $*
|
Loading…
Reference in a new issue