mirror of https://github.com/BOINC/boinc.git
16 lines
464 B
Bash
Executable File
16 lines
464 B
Bash
Executable File
#/bin/sh
|
|
|
|
#
|
|
# See: http://boinc.berkeley.edu/trac/wiki/AndroidBuildClient#
|
|
#
|
|
|
|
# Script to setup Android toolchain
|
|
|
|
export NDK_ROOT="${NDK_ROOT:-$HOME/NVPACK/android-ndk-r10e}"
|
|
export ANDROID_TC="${ANDROID_TC:-$HOME/android-tc}"
|
|
export ANDROID_TC_ARM="${ANDROID_TC_ARM:-$ANDROID_TC/arm}"
|
|
|
|
if [ ! -d $ANDROID_TC_ARM/arm-linux-androideabi ]; then
|
|
$NDK_ROOT/build/tools/make-standalone-toolchain.sh --platform=android-9 --arch=arm --install-dir=$ANDROID_TC_ARM
|
|
fi
|