From 5fe82f0e83abe053745aaa9751cc61e098f211db Mon Sep 17 00:00:00 2001 From: MeowShe Date: Thu, 28 Jul 2022 13:40:59 +0800 Subject: [PATCH 1/2] build: optimized and fixed building configuration to Android --- android-configure | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/android-configure b/android-configure index 43341d1abea765..fd509a6b02fa3a 100755 --- a/android-configure +++ b/android-configure @@ -17,8 +17,8 @@ NDK_PATH=$1 ARCH="$2" ANDROID_SDK_VERSION=$3 -if [ $ANDROID_SDK_VERSION -lt 23 ]; then - echo "$ANDROID_SDK_VERSION should equal or later than 23(Android 6.0)" +if [ $ANDROID_SDK_VERSION -lt 24 ]; then + echo "$ANDROID_SDK_VERSION should equal or later than 24 (Android 7.0)" fi CC_VER="4.9" @@ -26,7 +26,7 @@ CC_VER="4.9" case $ARCH in arm) DEST_CPU="arm" - TOOLCHAIN_NAME="armv7-linux-androideabi" + TOOLCHAIN_NAME="armv7a-linux-androideabi" ;; x86) DEST_CPU="ia32" From 4faf32bed9732509901faf484853ba1152e147a5 Mon Sep 17 00:00:00 2001 From: BuShe Date: Sun, 7 Aug 2022 10:15:38 +0800 Subject: [PATCH 2/2] build: removed unused variables from the configuration file --- android-configure | 2 -- 1 file changed, 2 deletions(-) diff --git a/android-configure b/android-configure index fd509a6b02fa3a..6200f35200c774 100755 --- a/android-configure +++ b/android-configure @@ -21,8 +21,6 @@ if [ $ANDROID_SDK_VERSION -lt 24 ]; then echo "$ANDROID_SDK_VERSION should equal or later than 24 (Android 7.0)" fi -CC_VER="4.9" - case $ARCH in arm) DEST_CPU="arm"