revise installing a license file
[platform/upstream/nodejs.git] / android-configure
1 #!/bin/bash
2
3 export TOOLCHAIN=$PWD/android-toolchain
4 mkdir -p $TOOLCHAIN
5 $1/build/tools/make-standalone-toolchain.sh \
6     --toolchain=arm-linux-androideabi-4.9 \
7     --arch=arm \
8     --install-dir=$TOOLCHAIN \
9     --platform=android-21
10 export PATH=$TOOLCHAIN/bin:$PATH
11 export AR=$TOOLCHAIN/bin/arm-linux-androideabi-ar
12 export CC=$TOOLCHAIN/bin/arm-linux-androideabi-gcc
13 export CXX=$TOOLCHAIN/bin/arm-linux-androideabi-g++
14 export LINK=$TOOLCHAIN/bin/arm-linux-androideabi-g++
15
16 ./configure \
17     --dest-cpu=arm \
18     --dest-os=android