diff options
author | Johann <johannkoenig@google.com> | 2014-05-13 14:17:02 -0700 |
---|---|---|
committer | Johann <johannkoenig@google.com> | 2014-05-14 12:23:33 -0700 |
commit | 4dcc6d9707f8b3525c8f30c9189ce212416fc406 (patch) | |
tree | 995a8dfc6260f237fd3e0ac354ae54af8fb1b9c9 /build/make/configure.sh | |
parent | c6b8fce22af35419625c7bb8f153fed46293a7d7 (diff) | |
download | libvpx-4dcc6d9707f8b3525c8f30c9189ce212416fc406.tar libvpx-4dcc6d9707f8b3525c8f30c9189ce212416fc406.tar.gz libvpx-4dcc6d9707f8b3525c8f30c9189ce212416fc406.tar.bz2 libvpx-4dcc6d9707f8b3525c8f30c9189ce212416fc406.zip |
Build armv7a-only code
Allow disabling the more generic NEON code.
Use filtered option to disable rtcd code.
Change-Id: Icb4500c1a2bac16eed3c5e3ec0c35e92e6bbbb9f
Diffstat (limited to 'build/make/configure.sh')
-rwxr-xr-x | build/make/configure.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/build/make/configure.sh b/build/make/configure.sh index a2a64c2d5..c07b04978 100755 --- a/build/make/configure.sh +++ b/build/make/configure.sh @@ -518,7 +518,7 @@ process_common_cmdline() { --enable-?*|--disable-?*) eval `echo "$opt" | sed 's/--/action=/;s/-/ option=/;s/-/_/g'` if echo "${ARCH_EXT_LIST}" | grep "^ *$option\$" >/dev/null; then - [ $action = "disable" ] && RTCD_OPTIONS="${RTCD_OPTIONS}${opt} " + [ $action = "disable" ] && RTCD_OPTIONS="${RTCD_OPTIONS}--disable-${option} " elif [ $action = "disable" ] && ! disabled $option ; then echo "${CMDLINE_SELECT}" | grep "^ *$option\$" >/dev/null || die_unknown $opt @@ -835,7 +835,7 @@ EOF check_add_cflags -march=armv7-a -mfloat-abi=${float_abi} check_add_asflags -march=armv7-a -mfloat-abi=${float_abi} - if enabled neon + if enabled neon || enabled neon_asm then check_add_cflags -mfpu=neon #-ftree-vectorize check_add_asflags -mfpu=neon @@ -882,7 +882,7 @@ EOF tune_asflags="--cpu=" if [ -z "${tune_cpu}" ]; then if [ ${tgt_isa} = "armv7" ]; then - if enabled neon + if enabled neon || enabled neon_asm then check_add_cflags --fpu=softvfp+vfpv3 check_add_asflags --fpu=softvfp+vfpv3 |