source: local/greenstone3/linux-android-ndk-cross/PREPARE.sh@ 26831

Last change on this file since 26831 was 26831, checked in by davidb, 11 years ago

Restructuring of android support files

File size: 576 bytes
Line 
1
2if [ ! -d android-ndk-r8d ] ; then
3
4 echo "Untarring Android NDK tar ball"
5
6 tar xvjf android-ndk-r8d-linux-x86.tar.bz2
7fi
8
9devel_reminder=0
10if [ "x$NDK_HOME" = "x" ] ; then
11 devel_reminder=1
12 source ./devel.bash
13fi
14
15$NDK_HOME/android-ndk-r8d/build/tools/make-standalone-toolchain.sh \
16 --platform=android-14 \
17 --install-dir=$NDK_HOME/android_toolchain
18
19## --toolchain=arm-linux-androideabi-4.7
20
21
22if [ $devel_reminder = "1" ] ; then
23 echo ""
24 echo "****"
25 echo "* Now run source ./devel.bash to add the Android NDK to your environment"
26 echo "****"
27 echo ""
28fi
Note: See TracBrowser for help on using the repository browser.