Last change
on this file since 26835 was 26835, checked in by davidb, 11 years ago |
Merging devel.bash files from 'android-ndk' and 'local'
|
File size:
932 bytes
|
Line | |
---|
1 |
|
---|
2 | export crossOS=android
|
---|
3 | echo "+ Setting crossOS=$crossOS"
|
---|
4 |
|
---|
5 | export NDK_HOME=`pwd`
|
---|
6 | export PATH=$NDK_HOME/android_toolchain/bin:$NDK_HOME/android-ndk-r8d:$PATH
|
---|
7 |
|
---|
8 | echo "+ Setting NDK_HOME to $NDK_HOME"
|
---|
9 | echo "+ Updating PATH to include 'android_toolchain/bin/' and 'ndk-build'"
|
---|
10 |
|
---|
11 | export CPP=arm-linux-androideabi-cpp
|
---|
12 | export CC=arm-linux-androideabi-gcc
|
---|
13 | export CXX=arm-linux-androideabi-g++
|
---|
14 | export LD=arm-linux-androideabi-ld
|
---|
15 | export AR=arm-linux-androideabi-ar
|
---|
16 | export 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 |
|
---|
25 | pushd ../gs2build/ext/gnome-lib
|
---|
26 | source ./devel.bash
|
---|
27 | popd
|
---|
28 |
|
---|
29 | source ./gs3-setup.bash
|
---|
30 |
|
---|
31 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.