shithub: libvpx

Download patch

ref: bc74a2f33b661fad04b89688af505ea391708fc0
parent: 6d1a63a02a1e75f73a304dab23a0cf807523232d
author: Tom Finegan <tomfinegan@google.com>
date: Fri Dec 12 08:53:58 EST 2014

iosbuild.sh: Add targets argument.

Allows override of default target list. Also added missing usage info
for --extra-configure-args, and removed last vestiges of armv6 support.

Change-Id: Ic0f14fffa0cbaea1bed371d38ff65e035bbe3273

--- a/build/make/iosbuild.sh
+++ b/build/make/iosbuild.sh
@@ -57,9 +57,6 @@
     arm64-*)
       echo "__aarch64__"
       ;;
-    armv6-*)
-      echo "__ARM_ARCH_6__"
-      ;;
     armv7-*)
       echo "__ARM_ARCH_7A__"
       ;;
@@ -186,9 +183,12 @@
 cat << EOF
   Usage: ${0##*/} [arguments]
     --help: Display this message and exit.
+    --extra-configure-args <args>: Extra args to pass when configuring libvpx.
     --jobs: Number of make jobs.
     --preserve-build-output: Do not delete the build directory.
     --show-build-output: Show output from each library build.
+    --targets <targets>: Override default target list. Defaults:
+         ${TARGETS}
     --verbose: Output information about the environment and each stage of the
                build.
 EOF
@@ -222,6 +222,10 @@
       ;;
     --show-build-output)
       devnull=
+      ;;
+    --targets)
+      TARGETS="$2"
+      shift
       ;;
     --verbose)
       VERBOSE=yes