comparison build-scripts/acc.sh @ 4699:925008931501

Added some wrapper shell scripts to make android compiling easier
author Paul Hunkin <paul@bieh.net>
date Sun, 23 May 2010 15:13:39 +1200
parents
children d40bb3165d2b
comparison
equal deleted inserted replaced
4698:52697090c967 4699:925008931501
1 #!/bin/bash
2 ANDROID_NDK="/home/paul/Projects/gsoc/sdk/android-ndk-r4"
3 TOOLS_PATH="$ANDROID_NDK/build/prebuilt/linux-x86/arm-eabi-4.2.1/bin"
4
5 export PATH=$TOOLS_PATH:$PATH
6
7 CC="arm-eabi-gcc"
8
9 #cflags
10 ACC_C=" -I$ANDROID_NDK/build/platforms/android-4/common/include \
11 -I$ANDROID_NDK/build/platforms/android-4/arch-arm/usr/include \
12 -DANDROID -c"
13
14
15 $CC $CFLAGS $ACC_C $@