Added message directing user to perform the build with the build command

pull/200/head
Jeffrey Walton 2016-06-13 20:28:46 -04:00
parent 94f26519d2
commit a6090c64ed
3 changed files with 32 additions and 11 deletions

View File

@ -332,7 +332,7 @@ VERBOSE=1
if [ ! -z "$VERBOSE" ] && [ "$VERBOSE" != "0" ]; then if [ ! -z "$VERBOSE" ] && [ "$VERBOSE" != "0" ]; then
echo "ANDROID_NDK_ROOT: $ANDROID_NDK_ROOT" echo "ANDROID_NDK_ROOT: $ANDROID_NDK_ROOT"
echo "AOSP_TOOLCHAIN_PATH: $AOSP_TOOLCHAIN_PATH" echo "AOSP_TOOLCHAIN_PATH: $AOSP_TOOLCHAIN_PATH"
echo "AOSP_ABI: $AOSP_ABI" echo "AOSP_ABI: $AOSP_ABI"
echo "AOSP_API: $AOSP_API" echo "AOSP_API: $AOSP_API"
echo "AOSP_SYSROOT: $AOSP_SYSROOT" echo "AOSP_SYSROOT: $AOSP_SYSROOT"
echo "AOSP_FLAGS: $AOSP_FLAGS" echo "AOSP_FLAGS: $AOSP_FLAGS"
@ -343,4 +343,11 @@ if [ ! -z "$VERBOSE" ] && [ "$VERBOSE" != "0" ]; then
fi fi
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 [ "$0" = "$BASH_SOURCE" ] && exit 0 || return 0

View File

@ -130,4 +130,11 @@ if [ ! -z "$VERBOSE" ] && [ "$VERBOSE" -ne 0 ]; then
echo "ARM_EMBEDDED_SYSROOT: $ARM_EMBEDDED_SYSROOT" echo "ARM_EMBEDDED_SYSROOT: $ARM_EMBEDDED_SYSROOT"
fi 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

View File

@ -81,32 +81,32 @@ do
if [ "$CL" == "iphone" ] || [ "$CL" == "iphoneos" ]; then if [ "$CL" == "iphone" ] || [ "$CL" == "iphoneos" ]; then
APPLE_SDK=iPhoneOS APPLE_SDK=iPhoneOS
fi fi
# iPhone Simulator # iPhone Simulator
if [ "$CL" == "simulator" ] || [ "$CL" == "iphonesimulator" ]; then if [ "$CL" == "simulator" ] || [ "$CL" == "iphonesimulator" ]; then
APPLE_SDK=iPhoneSimulator APPLE_SDK=iPhoneSimulator
fi fi
# Watch # Watch
if [ "$CL" == "watch" ] || [ "$CL" == "watchos" ] || [ "$CL" == "applewatch" ]; then if [ "$CL" == "watch" ] || [ "$CL" == "watchos" ] || [ "$CL" == "applewatch" ]; then
APPLE_SDK=WatchOS APPLE_SDK=WatchOS
fi fi
# Watch Simulator # Watch Simulator
if [ "$CL" == "watchsimulator" ]; then if [ "$CL" == "watchsimulator" ]; then
APPLE_SDK=WatchSimulator APPLE_SDK=WatchSimulator
fi fi
# Apple TV # Apple TV
if [ "$CL" == "tv" ] || [ "$CL" == "appletv" ] || [ "$CL" == "appletvos" ]; then if [ "$CL" == "tv" ] || [ "$CL" == "appletv" ] || [ "$CL" == "appletvos" ]; then
APPLE_SDK=AppleTVOS APPLE_SDK=AppleTVOS
fi fi
# Apple TV Simulator # Apple TV Simulator
if [ "$CL" == "tvsimulator" ] || [ "$CL" == "appletvsimulator" ]; then if [ "$CL" == "tvsimulator" ] || [ "$CL" == "appletvsimulator" ]; then
APPLE_SDK=AppleTVSimulator APPLE_SDK=AppleTVSimulator
fi fi
done done
# Defaults if not set # Defaults if not set
@ -270,13 +270,20 @@ TOOLS=(clang clang++ ar ranlib libtool ld)
for tool in ${TOOLS[@]} for tool in ${TOOLS[@]}
do do
if [ ! -e "$IOS_TOOLCHAIN/$tool" ] && [ ! -e "$XCODE_TOOLCHAIN/$tool" ]; then 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 FOUND_ALL=0
fi fi
done done
if [ "$SETENV_VERBOSE" == "1" ] && [ "$FOUND_ALL" == "1" ]; then if [ "$FOUND_ALL" -eq "0" ]; then
echo "TOOL TEST: found all tools, this might actually work" [ "$0" = "$BASH_SOURCE" ] && exit 1 || return 1
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 [ "$0" = "$BASH_SOURCE" ] && exit 0 || return 0