broadcom/vc4: Build the vc4_tiling_lt_neon.c with -mfpu=neon on ARM.
authorEric Anholt <eric@anholt.net>
Mon, 31 Jul 2017 21:59:38 +0000 (14:59 -0700)
committerEric Anholt <eric@anholt.net>
Tue, 15 Aug 2017 20:23:54 +0000 (13:23 -0700)
commitbd5efbd70b33a9f7977e75799c3b7d293113ba4d
tree91ed6d453fe7311ec750bc869a94ada7d147dde0
parentba8533b6ea6a3e0121da4ab73be1dd18580b4d9b
broadcom/vc4: Build the vc4_tiling_lt_neon.c with -mfpu=neon on ARM.

If you don't pass this, the compiler refuses to compile the assembly for
pre-v7 CPUs.  This also keeps us from building identical, non-NEON code on
aarch64 and x86.

Fixes: a373f77662c5 ("vc4: Use a wrapper file to set VC4_BUILD_NEON instead of CFLAGS.")
v2: Fix Android build by just appending NEON_C_SOURCES when
    ARCH_ARM_HAVE_NEON.

Tested-by: Rob Herring <robh@kernel.org>
src/gallium/drivers/vc4/Android.mk
src/gallium/drivers/vc4/Makefile.am
src/gallium/drivers/vc4/Makefile.sources
src/gallium/drivers/vc4/vc4_tiling.h