]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commit
pulseaudio: fix NEON usage
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thu, 22 Aug 2013 21:01:32 +0000 (23:01 +0200)
committerPeter Korsgaard <jacmet@sunsite.dk>
Tue, 27 Aug 2013 21:02:23 +0000 (23:02 +0200)
commitf09636710b14f1493de7c8cd24aaf3a5d1322389
treea2c5eefdbe09c3ed19fd68f7ff4ee2d481258233
parent796621c56aaed0a2b4c7c1fcec011f22501e94fc
pulseaudio: fix NEON usage

The NEON intrinsics used by Pulseaudio are only available in either
-mfloat-abi=softfp or -mfloat-abi=hard, not in
-mfloat-abi=soft. Therefore having NEON support in the processor is
not sufficient, we also should *not* be using soft-float.

Moreover, looking at BR2_ARM_ENABLE_NEON to know if the processor has
NEON support is incorrect. This option is only here to allow the user
to tell whether the processor has NEON support or not, for the ARM
cores that only have optional NEON support. Instead, the
BR2_ARM_CPU_HAS_NEON option really indicates whether NEON is available
or not (it is either set automatically by the ARM cores that always
have NEON support, or when BR2_ARM_ENABLE_NEON is enabled by the user
to confirm that his ARM processor has NEON support).

This fixes build failures such as
http://autobuild.buildroot.org/results/675/675c96059be348b594cc92980bef391126931c83/build-end.log

[Peter: add comment about reason for soft abi check]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/multimedia/pulseaudio/pulseaudio.mk