mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-11 07:42:18 +00:00
9afeae0c47
D'oh, forgot usr :P
21 lines
607 B
Bash
Executable file
21 lines
607 B
Bash
Executable file
#!/bin/sh -x
|
|
set -e
|
|
mkdir -p native mipsel-linux
|
|
cd native
|
|
../../configure \
|
|
--disable-shared \
|
|
--without-clients \
|
|
--without-servers \
|
|
--with-tools=qfcc,pak
|
|
cd ../mipsel-linux
|
|
export MIPSEL=/opt/gcw0-toolchain
|
|
export MIPSEL_SYSROOT=$MIPSEL/usr/mipsel-gcw0-linux-uclibc/sysroot
|
|
export PKG_CONFIG_LIBDIR=$MIPSEL_SYSROOT/usr/lib/pkgconfig
|
|
export PKG_CONFIG_PATH=$MIPSEL_SYSROOT/usr/local/lib/pkgconfig
|
|
export PATH=$MIPSEL/usr/bin:$PATH
|
|
../../configure --host=mipsel-linux \
|
|
--with-sysroot=$MIPSEL_SYSROOT \
|
|
--disable-sdl-cd \
|
|
--with-endian=little \
|
|
SDL_CONFIG=$MIPSEL_SYSROOT/usr/bin/sdl-config \
|
|
$*
|