2012-11-27 03:40:43 +00:00
|
|
|
#!/bin/sh -x
|
2012-11-29 02:19:09 +00:00
|
|
|
set -e
|
2012-11-27 03:40:43 +00:00
|
|
|
if test -d native; then
|
|
|
|
cd native
|
|
|
|
make
|
|
|
|
cd ../mipsel-linux
|
|
|
|
ln -fs ../native/tools/qfcc/source/qfcc .
|
|
|
|
ln -fs ../native/tools/pak/pak .
|
|
|
|
fi
|
|
|
|
export MIPSEL=/opt/gcw0-toolchain
|
2012-11-29 02:19:09 +00:00
|
|
|
export MIPSEL_SYSROOT=$MIPSEL/usr/mipsel-gcw0-linux-uclibc/sysroot
|
2013-01-10 12:13:19 +00:00
|
|
|
export PKG_CONFIG_LIBDIR=$MIPSEL_SYSROOT/usr/lib/pkgconfig
|
2012-11-29 02:19:09 +00:00
|
|
|
export PKG_CONFIG_PATH=$MIPSEL_SYSROOT/usr/local/lib/pkgconfig
|
2012-11-27 03:40:43 +00:00
|
|
|
export PATH=$MIPSEL/usr/bin:$PATH
|
|
|
|
|
|
|
|
make PAK='$(top_builddir)/pak' QFCC='$(top_builddir)/qfcc' $*
|