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
This commit is contained in:
parent
6d1a63a02a
commit
bc74a2f33b
@ -57,9 +57,6 @@ target_to_preproc_symbol() {
|
|||||||
arm64-*)
|
arm64-*)
|
||||||
echo "__aarch64__"
|
echo "__aarch64__"
|
||||||
;;
|
;;
|
||||||
armv6-*)
|
|
||||||
echo "__ARM_ARCH_6__"
|
|
||||||
;;
|
|
||||||
armv7-*)
|
armv7-*)
|
||||||
echo "__ARM_ARCH_7A__"
|
echo "__ARM_ARCH_7A__"
|
||||||
;;
|
;;
|
||||||
@ -186,9 +183,12 @@ iosbuild_usage() {
|
|||||||
cat << EOF
|
cat << EOF
|
||||||
Usage: ${0##*/} [arguments]
|
Usage: ${0##*/} [arguments]
|
||||||
--help: Display this message and exit.
|
--help: Display this message and exit.
|
||||||
|
--extra-configure-args <args>: Extra args to pass when configuring libvpx.
|
||||||
--jobs: Number of make jobs.
|
--jobs: Number of make jobs.
|
||||||
--preserve-build-output: Do not delete the build directory.
|
--preserve-build-output: Do not delete the build directory.
|
||||||
--show-build-output: Show output from each library build.
|
--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
|
--verbose: Output information about the environment and each stage of the
|
||||||
build.
|
build.
|
||||||
EOF
|
EOF
|
||||||
@ -223,6 +223,10 @@ while [ -n "$1" ]; do
|
|||||||
--show-build-output)
|
--show-build-output)
|
||||||
devnull=
|
devnull=
|
||||||
;;
|
;;
|
||||||
|
--targets)
|
||||||
|
TARGETS="$2"
|
||||||
|
shift
|
||||||
|
;;
|
||||||
--verbose)
|
--verbose)
|
||||||
VERBOSE=yes
|
VERBOSE=yes
|
||||||
;;
|
;;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user