ffmpeg: explicitly disable NEON support
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 10 Aug 2016 21:29:03 +0000 (23:29 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Tue, 16 Aug 2016 22:01:29 +0000 (00:01 +0200)
commitae7becfe50cca2f6000342475f52750cab53985c
treea5ed2c5d596e5c65173557cd4675113ea398d51d
parent721bcb85132ba5842f61c6204a316d1bf04b3f49
ffmpeg: explicitly disable NEON support

When BR2_ARM_CPU_HAS_NEON=y, we pass --enable-neon. However, when
BR2_ARM_CPU_HAS_NEON is disabled, we don't pass anything. This generally
works fine, but turned out to integrate NEON code in ARMv7-M
builds (since it's ARMv7, ffmpeg assumed it should enable NEON code).

Even though ffmpeg is now disabled for ARMv7-M, it still makes sense to
be explicit, and disable NEON support when the CPU doesn't have it.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/ffmpeg/ffmpeg.mk