PageRenderTime 10ms CodeModel.GetById 6ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/tools/cross-build/psp/env.sh

http://ftk.googlecode.com/
Shell | 22 lines | 17 code | 3 blank | 2 comment | 0 complexity | 7a302e3e73878ac82f7f84a84d30cc15 MD5 | raw file
 1
 2#PSP
 3#######################################################
 4export ARCH=mips
 5export HOST_PARAM=--host=psp
 6export TARGET_CC=psp-gcc
 7export PATH=/usr/local/pspdev/bin/:$PATH
 8
 9export PSP_CFLAGS=-D_PSP_FW_VERSION=371
10export PSP_INCLUDES="-I/usr/local/pspdev/psp/sdk/include/"
11export PSP_LIBS="-L/usr/local/pspdev/psp/sdk/lib/"
12export PSP_LDFLAGS="-lg -lpspdebug -lpspdisplay -lpspge -lpspctrl -lpspsdk \
13	-lc \
14	-lpspnet -lpspnet_inet -lpspnet_apctl -lpspnet_resolver -lpsputility \
15	-lpspuser -lpspkernel -lm -lz"
16
17export BUILD_DIR=$PWD/$ARCH
18export PREFIX=$BUILD_DIR/usr
19export PKG_CONFIG_PATH=$PREFIX/lib/pkgconfig/
20export LDFLAGS="-L$PREFIX/lib $PSP_LIBS $PSP_LDFLAGS"
21export CFLAGS="-G0 -I$PREFIX/include $PSP_INCLUDES $PSP_LDFLAGS $PSP_LIBS"
22export LIBS=$LDFLAGS