summaryrefslogtreecommitdiff
path: root/build/make/configure.sh
diff options
context:
space:
mode:
authorJohann <johannkoenig@google.com>2016-06-22 16:31:12 -0700
committerJohann Koenig <johannkoenig@google.com>2016-06-23 13:48:18 +0000
commit310073868e6b8fbbe70f96abd04a232594e7970b (patch)
tree56477a3b326d96b21119875b74853d19b4f243d4 /build/make/configure.sh
parent527a9fea767bf3c52d63096bdc5b6dd51615105b (diff)
downloadlibvpx-310073868e6b8fbbe70f96abd04a232594e7970b.tar
libvpx-310073868e6b8fbbe70f96abd04a232594e7970b.tar.gz
libvpx-310073868e6b8fbbe70f96abd04a232594e7970b.tar.bz2
libvpx-310073868e6b8fbbe70f96abd04a232594e7970b.zip
Fail early when android target does not include --sdk-path
Change-Id: I07e7e63476a2e32e3aae123abdee8b7bbbdc6a8c
Diffstat (limited to 'build/make/configure.sh')
-rw-r--r--build/make/configure.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/build/make/configure.sh b/build/make/configure.sh
index af0efbbae..e5ce21a92 100644
--- a/build/make/configure.sh
+++ b/build/make/configure.sh
@@ -1012,6 +1012,10 @@ EOF
;;
android*)
+ if [ -z "${sdk_path}" ]; then
+ die "Must specify --sdk-path for Android builds."
+ fi
+
SDK_PATH=${sdk_path}
COMPILER_LOCATION=`find "${SDK_PATH}" \
-name "arm-linux-androideabi-gcc*" -print -quit`