diff options
author | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2021-06-08 14:02:59 +0800 |
---|---|---|
committer | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2021-06-08 14:02:59 +0800 |
commit | 58633ffee0f7b191d1e27d878bd196f056380155 (patch) | |
tree | 067f409909b0f8f464a78f10ae3a8caa2a4e59f5 /arm-linux-androideabi-configure | |
parent | 7aca5412dbc23e8cfcf8718c434092a1c81418e3 (diff) |
Initial android armv7 wrapper
Diffstat (limited to 'arm-linux-androideabi-configure')
-rwxr-xr-x | arm-linux-androideabi-configure | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/arm-linux-androideabi-configure b/arm-linux-androideabi-configure new file mode 100755 index 0000000..20d62ec --- /dev/null +++ b/arm-linux-androideabi-configure @@ -0,0 +1,10 @@ +#!/bin/sh +export TOOLCHAIN=$ANDROID_NDK_ROOT/toolchains/llvm/prebuilt/linux-x86_64 +export TARGET=armv7a-linux-androideabi +export API=16 +export CC=$TOOLCHAIN/bin/$TARGET$API-clang +export TARGET=arm-linux-androideabi +export PREFIX=$TOOLCHAIN/sysroot/usr +export CPPFLAGS="$CPPFLAGS -DDEBUG" +export CFLAGS="$CFLAGS -g" +./configure --host=$TARGET --prefix=$PREFIX --libdir=$PREFIX/lib/$TARGET/$API --disable-static |