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:
Tom Finegan 2014-12-12 13:53:58 -08:00
Родитель 6d1a63a02a
Коммит bc74a2f33b
1 изменённых файлов: 7 добавлений и 3 удалений

Просмотреть файл

@ -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
;;