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

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

Dropping back to r8b version of NDK to work with cross compiling Perl

File size: 576 bytes
Line 
1
2if [ ! -d android-ndk-r8b ] ; then
3
4 echo "Untarring Android NDK tar ball"
5
6 tar xvjf android-ndk-r8b-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-r8b/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.