Update script arm64

This commit is contained in:
khanhduytran0 2020-07-21 06:59:08 +07:00
parent 0f3af7f93f
commit d17965d3fe
2 changed files with 14 additions and 1 deletions

View File

@ -3,6 +3,7 @@ set -e
. setdevkitpath.sh
export FREETYPE_DIR=`pwd`/freetype-2.6.2/build_android-aarch64
export CUPS_DIR=`pwd`/cups-2.2.4
# /build_android-aarch64
# My system's JDK is too old (7.0), so we add an Oracle boot JDK.
# Set "USE_SYSTEM_JDK_8=1" to use system jdk instead

View File

@ -1 +1,13 @@
export ANDROID_DEVKIT=`pwd`/android-ndk-r10e/generated-toolchains/android-arm-toolchain
export NDK=`pwd`/android-ndk-r10e
export ANDROID_DEVKIT=$NDK/generated-toolchains/android-arm64-toolchain
export TOOLCHAIN=$NDK/generated-toolchains/android-arm64-toolchain
export TARGET=aarch64-linux-android
# Configure and build.
export AR=$TOOLCHAIN/bin/$TARGET-ar
export AS=$TOOLCHAIN/bin/$TARGET-as
export CC=$TOOLCHAIN/bin/$TARGET-gcc
export CXX=$TOOLCHAIN/bin/$TARGET-g++
export LD=$TOOLCHAIN/bin/$TARGET-ld
export RANLIB=$TOOLCHAIN/bin/$TARGET-ranlib
export STRIP=$TOOLCHAIN/bin/$TARGET-strip