From 58633ffee0f7b191d1e27d878bd196f056380155 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=A6=8C=EA=A6=AB=EA=A6=B6=EA=A6=8F=EA=A7=80=EA=A6=A6?= =?UTF-8?q?=EA=A6=BF=EA=A6=A7=EA=A6=AE=EA=A6=91=EA=A6=A9=EA=A6=AD=EA=A7=80?= Date: Tue, 8 Jun 2021 14:02:59 +0800 Subject: Initial android armv7 wrapper --- arm-linux-androideabi-configure | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 arm-linux-androideabi-configure (limited to 'arm-linux-androideabi-configure') 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 -- cgit v1.2.3