root/local/greenstone3/linux-android-ndk-cross/devel.bash @ 26834

Revision 26834, 0.9 KB (checked in by davidb, 7 years ago)

Merging devel.bash files from 'android-ndk' and 'local'

Line 
1
2export crossOS=android
3echo "+ Setting crossOS=$crossOS"
4
5export NDK_HOME=`pwd`
6export PATH=$NDK_HOME/android_toolchain/bin:$NDK_HOME/android-ndk-r8d:$PATH
7
8echo "+ Setting NDK_HOME to $NDK_HOME"
9echo "+ Updating PATH to include 'android_toolchain/bin/' and 'ndk-build'"
10
11export CPP=arm-linux-androideabi-cpp
12export CC=arm-linux-androideabi-gcc
13export CXX=arm-linux-androideabi-g++
14export LD=arm-linux-androideabi-ld
15export AR=arm-linux-androideabi-ar
16export RANLIB=arm-linux-androideabi-ranlib
17
18
19# Need to make sure crossOS is set before sourcing the gnome-lib ext
20# to ensure GSDLOS is set to 'android'.  This in turn ensures that all
21# the cross-compiled files go under the 'android' install directory
22# and avoids cross-contamination of shared libraries between commands
23# run on the build OS (linux) and the intented final host OS (android)
24
25pushd ../gs2build/ext/gnome-lib
26source ./devel.bash
27popd
28
29source ./gs3-setup.bash
30
31
Note: See TracBrowser for help on using the browser.