configure.ac: Introduce HAVE_ARM_ASM/HAVE_AARCH64_ASM and the -D flags.
authorEric Anholt <eric@anholt.net>
Mon, 31 Jul 2017 22:15:14 +0000 (15:15 -0700)
committerEric Anholt <eric@anholt.net>
Tue, 15 Aug 2017 20:23:54 +0000 (13:23 -0700)
commitba8533b6ea6a3e0121da4ab73be1dd18580b4d9b
tree1fb5f4981a76aaf8320f50ebbe950678e3941c6f
parentb94ddc181bc514bd32c1d4103aa1c7582a7a60ff
configure.ac: Introduce HAVE_ARM_ASM/HAVE_AARCH64_ASM and the -D flags.

I've been trying to get away without these conditionals in vc4's NEON
code, but it meant compiling extra unused code on x86, and build failing
on ARMv6.

v2: Use the _arm/_arm64 flags to simplify detection (suggested by Rob),
    but hide the _arm version under ARCH_ARM_HAVE_NEON to keep from trying
    to build this stuff for armv5te.

Tested-by: Rob Herring <robh@kernel.org>
Reviewed-by: Matt Turner <mattst88@gmail.com>
Android.common.mk
configure.ac