2017-09-26 11:21:31 +02:00
|
|
|
[ -z "$DEP_DIR" ] && export DEP_DIR=$HOME/src/android
|
2012-09-05 03:09:34 +02:00
|
|
|
export PLATFORM=android-dbg
|
2014-01-15 00:40:25 +01:00
|
|
|
export ABI=armeabi
|
2012-09-05 03:09:34 +02:00
|
|
|
export DEBUG_BUILD=1
|
|
|
|
export OTHER_COMPILER_FLAGS="-g"
|
2017-07-18 20:27:35 +02:00
|
|
|
export CXX_COMPILER_FLAGS="-std=c++1y"
|
2012-09-05 03:09:34 +02:00
|
|
|
export LIB_OPT_LEVEL="-O0"
|
|
|
|
export LIB_FPIC="-fPIC"
|
2015-02-27 17:20:35 +01:00
|
|
|
export TC=$DEP_DIR/tc-arm
|
2017-07-18 20:27:35 +02:00
|
|
|
export PLATFORM_FLAGS="-march=armv5te --sysroot=$TC/sysroot"
|
|
|
|
export GPP_CMD="$TC/bin/arm-linux-androideabi-g++"
|
|
|
|
export GCC_CMD="$TC/bin/arm-linux-androideabi-gcc"
|
2015-02-27 17:20:35 +01:00
|
|
|
|
|
|
|
[ -z "$VARS_SAVE_PATH" ] && VARS_SAVE_PATH="$PATH"
|
|
|
|
export PATH="$TC/bin:$TC/arm-linux-androideabi/bin:$VARS_SAVE_PATH"
|