iosbuild.sh: Add targets argument.
authorTom Finegan <tomfinegan@google.com>
Fri, 12 Dec 2014 21:53:58 +0000 (13:53 -0800)
committerTom Finegan <tomfinegan@google.com>
Fri, 12 Dec 2014 21:53:58 +0000 (13:53 -0800)
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

build/make/iosbuild.sh

index 9030108a8301725b885043cb6d4089861e604869..5d2051eee1252da322124908cce8bdfed42e14b5 100755 (executable)
@@ -57,9 +57,6 @@ target_to_preproc_symbol() {
     arm64-*)
       echo "__aarch64__"
       ;;
-    armv6-*)
-      echo "__ARM_ARCH_6__"
-      ;;
     armv7-*)
       echo "__ARM_ARCH_7A__"
       ;;
@@ -186,9 +183,12 @@ iosbuild_usage() {
 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
@@ -223,6 +223,10 @@ while [ -n "$1" ]; do
     --show-build-output)
       devnull=
       ;;
+    --targets)
+      TARGETS="$2"
+      shift
+      ;;
     --verbose)
       VERBOSE=yes
       ;;