Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] nettle: disable assembly optimizations for ARMv7M
@ 2016-07-25  0:15 Gustavo Zacarias
  2016-07-25 20:48 ` Thomas Petazzoni
  0 siblings, 1 reply; 7+ messages in thread
From: Gustavo Zacarias @ 2016-07-25  0:15 UTC (permalink / raw)
  To: buildroot

It's thumb2-only and it requires ARM instructions.
Since V4 and V5 aren't enough either use the V7M knob to avoid
over-complicating the conditional. Fixes:
http://autobuild.buildroot.net/results/354/35418d33efa902d3a1a82b2cd58d8db1b1172e49/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
 package/nettle/nettle.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/nettle/nettle.mk b/package/nettle/nettle.mk
index c133839..a94a7fc 100644
--- a/package/nettle/nettle.mk
+++ b/package/nettle/nettle.mk
@@ -15,7 +15,7 @@ NETTLE_LICENSE_FILES = COPYING.LESSERv3 COPYINGv2
 NETTLE_CONF_OPTS = --disable-openssl
 
 # ARM assembly requires v6+ ISA
-ifeq ($(BR2_ARM_CPU_ARMV4)$(BR2_ARM_CPU_ARMV5),y)
+ifeq ($(BR2_ARM_CPU_ARMV4)$(BR2_ARM_CPU_ARMV5)$(BR2_ARM_CPU_ARMV7M),y)
 NETTLE_CONF_OPTS += --disable-assembler
 endif
 
-- 
2.7.3

^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2016-07-27  9:23 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-25  0:15 [Buildroot] [PATCH] nettle: disable assembly optimizations for ARMv7M Gustavo Zacarias
2016-07-25 20:48 ` Thomas Petazzoni
2016-07-26 21:18   ` Peter Korsgaard
2016-07-27  7:15     ` Thomas Petazzoni
2016-07-27  8:03       ` Peter Korsgaard
2016-07-27  8:13         ` Thomas Petazzoni
2016-07-27  9:23           ` Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox