Thread (4 messages) 4 messages, 3 authors, 2016-08-31

[Buildroot] [PATCH] openal: Explicitly enable/disable NEON support to avoid trouble with precompiled toolchains

flat view
STALE3710d

From: André Hentschel <hidden>
Date: 2016-08-28 14:10:46

Am 28.08.2016 um 15:50 schrieb Thomas Petazzoni:
Hello,

Why do you think the problem is with "precompiled" toolchains only?
Because the bug is about mismatch between target settings made in the buildroot config and the toolchain default target settings.
On Sun, 28 Aug 2016 14:37:00 +0200, Andr? Hentschel wrote:
quoted
Fixes:
http://autobuild.buildroot.net/results/d7ccef77a355ccc23f26d012e8441af931469ae4
http://autobuild.buildroot.net/results/b5777a0ed33f6bb7a5fc0486ea21ecef58615dac
Signed-off-by: Andr? Hentschel <redacted>
---
 package/openal/openal.mk | 7 +++++++
 1 file changed, 7 insertions(+)
diff --git a/package/openal/openal.mk b/package/openal/openal.mk
index 2916aa6..8205f9e 100644
--- a/package/openal/openal.mk
+++ b/package/openal/openal.mk
@@ -50,4 +50,11 @@ ifeq ($(BR2_STATIC_LIBS),y)
 OPENAL_CONF_OPTS += -DLIBTYPE=STATIC
 endif
 
+# Explicitly enable/disable NEON support to avoid trouble with precompiled toolchains
+ifeq ($(BR2_ARM_FPU_NEON)$(BR2_ARM_FPU_NEON_VFPV4),y)
I believe you should use BR2_ARM_CPU_HAS_NEON instead.
Thought so too, looked into it, failed. It really depends on the FPU setting.
I know there's no other package doing this kind of check...
Other options are to always disable neon or to extend the checking in openal cmake script with a patch.
(I won't be able to patch it as my cmake skills are very low)
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help