Browse Source
Reviewed-on: https://gitea.pep.foundation/pEp.foundation/pEpJNIAdapter/pulls/18JNI-178 Release_2.1.42

12 changed files with 47 additions and 170 deletions
@ -1,21 +0,0 @@ |
|||||
#!/bin/bash |
|
||||
usage="Usage: $(basename "$0") [-h][--force] -- Script to generate android standalone toolchain to build pEp for Android. |
|
||||
|
|
||||
where: |
|
||||
-h Show this help text |
|
||||
--force Force generating the toolchain" |
|
||||
|
|
||||
|
|
||||
if [ "$1" == "-h" ]; then |
|
||||
echo "$usage" |
|
||||
exit 0 |
|
||||
fi |
|
||||
|
|
||||
if [ -z "$ANDROID_NDK" ]; then |
|
||||
echo "Please define \$ANDROID_NDK" |
|
||||
exit 1 |
|
||||
fi |
|
||||
|
|
||||
$ANDROID_NDK/build/tools/make_standalone_toolchain.py $1 --arch arm64 --api 21 --install-dir=ndk-standalone-toolchain |
|
||||
exit 0 |
|
||||
|
|
@ -1,21 +0,0 @@ |
|||||
#!/bin/bash |
|
||||
usage="Usage: $(basename "$0") [-h][--force] -- Script to generate android standalone toolchain to build pEp for Android. |
|
||||
|
|
||||
where: |
|
||||
-h Show this help text |
|
||||
--force Force generating the toolchain" |
|
||||
|
|
||||
|
|
||||
if [ "$1" == "-h" ]; then |
|
||||
echo "$usage" |
|
||||
exit 0 |
|
||||
fi |
|
||||
|
|
||||
if [ -z "$ANDROID_NDK" ]; then |
|
||||
echo "Please define \$ANDROID_NDK" |
|
||||
exit 1 |
|
||||
fi |
|
||||
|
|
||||
$ANDROID_NDK/build/tools/make_standalone_toolchain.py $1 --arch arm --api 18 --install-dir=ndk-standalone-toolchain |
|
||||
exit 0 |
|
||||
|
|
@ -1,21 +0,0 @@ |
|||||
#!/bin/bash |
|
||||
usage="Usage: $(basename "$0") [-h][--force] -- Script to generate android standalone toolchain to build pEp for Android. |
|
||||
|
|
||||
where: |
|
||||
-h Show this help text |
|
||||
--force Force generating the toolchain" |
|
||||
|
|
||||
|
|
||||
if [ "$1" == "-h" ]; then |
|
||||
echo "$usage" |
|
||||
exit 0 |
|
||||
fi |
|
||||
|
|
||||
if [ -z "$ANDROID_NDK" ]; then |
|
||||
echo "Please define \$ANDROID_NDK" |
|
||||
exit 1 |
|
||||
fi |
|
||||
|
|
||||
$ANDROID_NDK/build/tools/make_standalone_toolchain.py $1 --arch x86 --api 18 --install-dir=ndk-standalone-toolchain |
|
||||
exit 0 |
|
||||
|
|
@ -1,21 +0,0 @@ |
|||||
#!/bin/bash |
|
||||
usage="Usage: $(basename "$0") [-h][--force] -- Script to generate android standalone toolchain to build pEp for Android. |
|
||||
|
|
||||
where: |
|
||||
-h Show this help text |
|
||||
--force Force generating the toolchain" |
|
||||
|
|
||||
|
|
||||
if [ "$1" == "-h" ]; then |
|
||||
echo "$usage" |
|
||||
exit 0 |
|
||||
fi |
|
||||
|
|
||||
if [ -z "$ANDROID_NDK" ]; then |
|
||||
echo "Please define \$ANDROID_NDK" |
|
||||
exit 1 |
|
||||
fi |
|
||||
|
|
||||
$ANDROID_NDK/build/tools/make_standalone_toolchain.py $1 --arch x86_64 --api 21 --install-dir=ndk-standalone-toolchain |
|
||||
exit 0 |
|
||||
|
|
Loading…
Reference in new issue