mirror of
https://github.com/OpenVPN/openvpn3.git
synced 2024-09-20 12:12:15 +02:00
Android build scripts:
* Add build-all * Fixed build-minicrypto
This commit is contained in:
parent
4aa8345036
commit
01c91a46cd
@ -14,10 +14,12 @@ fi
|
||||
. $O3/lib-versions
|
||||
|
||||
# Build ASM files with clang 3.0
|
||||
GCC_AS_CMD=$HOME/clang3/clang
|
||||
if ! [ -f "$GCC_AS_CMD" ]; then
|
||||
echo "clang 3.0 binary must be present in $GCC_AS_CMD to assemble ARM crypto algorithms"
|
||||
exit 1
|
||||
if [ "$APPLE_FAMILY" = "1" ]; then
|
||||
GCC_AS_CMD=$HOME/clang3/clang
|
||||
if ! [ -f "$GCC_AS_CMD" ]; then
|
||||
echo "clang 3.0 binary must be present in $GCC_AS_CMD to assemble ARM crypto algorithms"
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
|
||||
DEST=minicrypto/minicrypto-$PLATFORM
|
||||
@ -25,6 +27,7 @@ DEST=minicrypto/minicrypto-$PLATFORM
|
||||
GLOBAL_COMPILE_FLAGS="$PLATFORM_FLAGS $OTHER_COMPILER_FLAGS $LIB_OPT_LEVEL $LIB_FPIC -DSHA1_ASM -DBF_PTR -DOPENSSL_VERSION_PTEXT= -D__LP32__"
|
||||
|
||||
[ -z "$GCC_CMD" ] && GCC_CMD=gcc
|
||||
[ -z "$GCC_AS_CMD" ] && GCC_AS_CMD="$GCC_CMD"
|
||||
[ -z "$AR_CMD" ] && AR_CMD=ar
|
||||
# the directory where this script lives
|
||||
H=$O3/minicrypto
|
||||
|
12
scripts/android/build-all
Executable file
12
scripts/android/build-all
Executable file
@ -0,0 +1,12 @@
|
||||
#!/usr/bin/env bash
|
||||
set -e
|
||||
echo "******* BOOST"
|
||||
$O3/scripts/android/build-boost
|
||||
echo "******* MINICRYPTO"
|
||||
$O3/scripts/android/build-minicrypto
|
||||
echo "******* POLARSSL"
|
||||
$O3/scripts/android/build-polarssl
|
||||
echo "******* LZO"
|
||||
$O3/scripts/android/build-lzo
|
||||
echo "******* SNAPPY"
|
||||
$O3/scripts/android/build-snappy
|
Loading…
Reference in New Issue
Block a user