forked from part-cw/lambdanative
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSETUP.template
48 lines (48 loc) · 2.03 KB
/
SETUP.template
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
## compiler setup
## you may need to tweak this to match your system setup
# ------------------------------------
## location of android SDK and NDK (linux or mac)
ANDROIDSDK=`find /usr/local/android-sdk-* -maxdepth 0 -print 2> /dev/null | tail -n 1`
ANDROIDNDK=`find /usr/local/android-ndk-* -maxdepth 0 -print 2> /dev/null| tail -n 1`
# minimum version to support (a matching target must be installed)
ANDROIDAPI=15
#android target cpu, either arm (default), x86 or mips
ANDROIDARCH=arm
# ------------------------------------
## Linux cross compiler (mac)
LINUXSDK=`find /usr/local/i?86-linux-* -maxdepth 0 -print 2> /dev/null | tail -n 1`
# ------------------------------------
## Windows cross compiler (linux or mac)
WIN32SDK=`find /usr/local/i?86-mingw32-* -maxdepth 0 -print 2> /dev/null | tail -n 1`
# ------------------------------------
## iOS SDK (mac)
IOSROOT=/Developer/Platforms/iPhoneOS.platform/Developer
if [ ! -d $IOSROOT/usr/bin ]; then
IOSROOT=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer
fi
IOSSDK=`find $IOSROOT/SDKs/* -maxdepth 0 -print 2> /dev/null | tail -n 1`
if [ ! -f $IOSROOT/usr/bin/ar ]; then
IOSROOT=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain
fi
# minimum version to support
IOSVERSION=5.1.1
# ------------------------------------
## Blackberry BB10 cross compiler (linux or mac)
BB10SDK=/Applications/Momentics.app
if [ ! -d "$BB10SDK" ]; then
BB10SDK=$HOME/bbndk
fi
BB10API=10.1
# ------------------------------------
## Blackberry Playbook cross compiler (linux or mac)
PLAYBOOKSDK=/Developer/SDKs/bbndk-2.1.0
# ------------------------------------
## OpenWrt firmware cross compiler (linux)
OPENWRTSDK=$HOME/OpenWrt-SDK-ar71xx-for-linux-i486-gcc-4.6-linaro_uClibc-0.9.33.2
# ------------------------------------
## Carlson-Minot cross-compiler for arm linux (mac)
CARLSONMINOTSDK=/usr/local/carlson-minot/crosscompilers
# ------------------------------------
## TI Sitara cross-compiler for arm linux (linux)
SITARASDK="$HOME/ti-sdk-am335x-evm-06.00.00.00"
# eof