[Buildroot] [git commit] libmad: disable ASO support for thumb-only ARM cores

Peter Korsgaard peter at korsgaard.com
Sun Jan 8 08:27:08 UTC 2017

commit: https://git.buildroot.net/buildroot/commit/?id=c614db3550d549c0a75d5d425019cd397d913550
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master


The ARM specific optimizations enabled by LIBMAD_ASO needs classic ARM
instructions support, so disable for thumb-only cores.

[Peter: don't drop default y as pointed out by Baruch Siach]
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
 package/libmad/Config.in | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/package/libmad/Config.in b/package/libmad/Config.in
index 7d66976..f93f54a 100644
--- a/package/libmad/Config.in
+++ b/package/libmad/Config.in
@@ -37,6 +37,8 @@ config BR2_PACKAGE_LIBMAD_SSO
 	bool "Architecture-specific optimizations"
+	# arm optimization needs classic arm instructions support
+	depends on !(BR2_arm && !BR2_ARM_CPU_HAS_ARM)
 	default y
 	  Use certain architecture-specific optimizations.

More information about the buildroot mailing list