mirror of https://github.com/lukechilds/node.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
473 B
19 lines
473 B
12 years ago
|
#!/bin/bash
|
||
|
|
||
|
export TOOLCHAIN=$PWD/android-toolchain
|
||
|
mkdir -p $TOOLCHAIN
|
||
|
$1/build/tools/make-standalone-toolchain.sh \
|
||
|
--toolchain=arm-linux-androideabi-4.7 \
|
||
|
--arch=arm \
|
||
|
--install-dir=$TOOLCHAIN \
|
||
|
--platform=android-9
|
||
|
export PATH=$TOOLCHAIN/bin:$PATH
|
||
|
export AR=arm-linux-androideabi-ar
|
||
|
export CC=arm-linux-androideabi-gcc
|
||
|
export CXX=arm-linux-androideabi-g++
|
||
|
export LINK=arm-linux-androideabi-g++
|
||
|
|
||
|
./configure \
|
||
|
--dest-cpu=arm \
|
||
|
--dest-os=android
|