Last change
on this file was
15213,
checked in by gb, 9 years ago
|
Whatever ${htoffi} is, it should follow the ARM eabi.
Make ${CCL} absolute.
|
File size:
329 bytes
|
Line | |
---|
1 | #!/bin/sh |
---|
2 | htoffi=h-to-ffi.sh |
---|
3 | NDK=/usr/local/android-ndk-r7 |
---|
4 | CCL=`dirname $0`/../../.. |
---|
5 | CCL=`cd ${CCL};pwd` |
---|
6 | ANDROIDVERSION=android-9 |
---|
7 | HEADERS=${NDK}/platforms/${ANDROIDVERSION}/arch-arm/usr/include |
---|
8 | CFLAGS="-D__ARM_EABI__ -DANDROID -I${HEADERS} -include ${HEADERS}/sys/types.h";export CFLAGS |
---|
9 | |
---|
10 | rm -rf usr |
---|
11 | |
---|
12 | h-to-ffi.sh ${HEADERS}/jni.h |
---|
Note: See
TracBrowser
for help on using the repository browser.