Added message directing user to perform the build with the build command
parent
94f26519d2
commit
a6090c64ed
|
|
@ -332,7 +332,7 @@ VERBOSE=1
|
|||
if [ ! -z "$VERBOSE" ] && [ "$VERBOSE" != "0" ]; then
|
||||
echo "ANDROID_NDK_ROOT: $ANDROID_NDK_ROOT"
|
||||
echo "AOSP_TOOLCHAIN_PATH: $AOSP_TOOLCHAIN_PATH"
|
||||
echo "AOSP_ABI: $AOSP_ABI"
|
||||
echo "AOSP_ABI: $AOSP_ABI"
|
||||
echo "AOSP_API: $AOSP_API"
|
||||
echo "AOSP_SYSROOT: $AOSP_SYSROOT"
|
||||
echo "AOSP_FLAGS: $AOSP_FLAGS"
|
||||
|
|
@ -343,4 +343,11 @@ if [ ! -z "$VERBOSE" ] && [ "$VERBOSE" != "0" ]; then
|
|||
fi
|
||||
fi
|
||||
|
||||
echo
|
||||
echo "*******************************************************************************"
|
||||
echo "It looks the the environemnt is set correcty. Your next step is"
|
||||
echo "build the library with 'make -f GNUmakefile-cross'"
|
||||
echo "*******************************************************************************"
|
||||
echo
|
||||
|
||||
[ "$0" = "$BASH_SOURCE" ] && exit 0 || return 0
|
||||
|
|
|
|||
|
|
@ -130,4 +130,11 @@ if [ ! -z "$VERBOSE" ] && [ "$VERBOSE" -ne 0 ]; then
|
|||
echo "ARM_EMBEDDED_SYSROOT: $ARM_EMBEDDED_SYSROOT"
|
||||
fi
|
||||
|
||||
[ "$0" = "$BASH_SOURCE" ] && exit 0 || return 0
|
||||
echo
|
||||
echo "*******************************************************************************"
|
||||
echo "It looks the the environemnt is set correcty. Your next step is"
|
||||
echo "build the library with 'make -f GNUmakefile-cross'"
|
||||
echo "*******************************************************************************"
|
||||
echo
|
||||
|
||||
[ "$0" = "$BASH_SOURCE" ] && exit 0 || return 0
|
||||
|
|
|
|||
|
|
@ -81,32 +81,32 @@ do
|
|||
if [ "$CL" == "iphone" ] || [ "$CL" == "iphoneos" ]; then
|
||||
APPLE_SDK=iPhoneOS
|
||||
fi
|
||||
|
||||
|
||||
# iPhone Simulator
|
||||
if [ "$CL" == "simulator" ] || [ "$CL" == "iphonesimulator" ]; then
|
||||
APPLE_SDK=iPhoneSimulator
|
||||
fi
|
||||
|
||||
|
||||
# Watch
|
||||
if [ "$CL" == "watch" ] || [ "$CL" == "watchos" ] || [ "$CL" == "applewatch" ]; then
|
||||
APPLE_SDK=WatchOS
|
||||
fi
|
||||
|
||||
|
||||
# Watch Simulator
|
||||
if [ "$CL" == "watchsimulator" ]; then
|
||||
APPLE_SDK=WatchSimulator
|
||||
fi
|
||||
|
||||
|
||||
# Apple TV
|
||||
if [ "$CL" == "tv" ] || [ "$CL" == "appletv" ] || [ "$CL" == "appletvos" ]; then
|
||||
APPLE_SDK=AppleTVOS
|
||||
fi
|
||||
|
||||
|
||||
# Apple TV Simulator
|
||||
if [ "$CL" == "tvsimulator" ] || [ "$CL" == "appletvsimulator" ]; then
|
||||
APPLE_SDK=AppleTVSimulator
|
||||
fi
|
||||
|
||||
|
||||
done
|
||||
|
||||
# Defaults if not set
|
||||
|
|
@ -270,13 +270,20 @@ TOOLS=(clang clang++ ar ranlib libtool ld)
|
|||
for tool in ${TOOLS[@]}
|
||||
do
|
||||
if [ ! -e "$IOS_TOOLCHAIN/$tool" ] && [ ! -e "$XCODE_TOOLCHAIN/$tool" ]; then
|
||||
echo "WARNING: unable to find $tool at IOS_TOOLCHAIN or XCODE_TOOLCHAIN"
|
||||
echo "ERROR: unable to find $tool at IOS_TOOLCHAIN or XCODE_TOOLCHAIN"
|
||||
FOUND_ALL=0
|
||||
fi
|
||||
done
|
||||
|
||||
if [ "$SETENV_VERBOSE" == "1" ] && [ "$FOUND_ALL" == "1" ]; then
|
||||
echo "TOOL TEST: found all tools, this might actually work"
|
||||
if [ "$FOUND_ALL" -eq "0" ]; then
|
||||
[ "$0" = "$BASH_SOURCE" ] && exit 1 || return 1
|
||||
fi
|
||||
|
||||
echo
|
||||
echo "*******************************************************************************"
|
||||
echo "It looks the the environemnt is set correcty. Your next step is"
|
||||
echo "build the library with 'make -f GNUmakefile-cross'"
|
||||
echo "*******************************************************************************"
|
||||
echo
|
||||
|
||||
[ "$0" = "$BASH_SOURCE" ] && exit 0 || return 0
|
||||
|
|
|
|||
Loading…
Reference in New Issue