Skip to content

Commit

Permalink
android: android.sh
Browse files Browse the repository at this point in the history
Signed-off-by: Oliver McFadden <omcfadde@gmail.com>
  • Loading branch information
omcfadde committed Aug 11, 2012
1 parent 3f09f19 commit 823a74b
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions neo/android.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
#!/bin/bash
set -e

export PATH=/pub/android-toolchain-r8b/bin:$PATH
export ARCH=arm-linux-androideabi
export CXX=$ARCH-g++
export CC=$ARCH-gcc

scons \
ARCH='arm' \
\
CC=$CC \
CXX=$CXX \
\
NOCURL=1 \
TARGET_ANDROID=1 \
TARGET_D3XP=0 \
\
BASEFLAGS='-I/pub/android-toolchain-r8b/arm-linux-androideabi/include/c++/4.6/arm-linux-androideabi -I/pub/android-toolchain-r8b/arm-linux-androideabi/include/c++/4.6' \
NDK='/pub/android-ndk-r8b' \
$*

0 comments on commit 823a74b

Please sign in to comment.