[Buildroot] [PATCH] openssl: disable assembly for ARMv7M
Gustavo Zacarias
gustavo at zacarias.com.ar
Wed Jun 22 13:47:28 UTC 2016
It requires interwork and v7M is thumb-only. Fixes:
http://autobuild.buildroot.net/results/55d/55dc9d6826defd2c9048c2991019d4d573d34af4/
Signed-off-by: Gustavo Zacarias <gustavo at zacarias.com.ar>
---
package/openssl/openssl.mk | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/package/openssl/openssl.mk b/package/openssl/openssl.mk
index 2368aa9..b019785 100644
--- a/package/openssl/openssl.mk
+++ b/package/openssl/openssl.mk
@@ -34,7 +34,8 @@ OPENSSL_DEPENDENCIES += ocf-linux
endif
# Some architectures are optimized in OpenSSL
-ifeq ($(ARCH),arm)
+# Doesn't work for thumb-only (Cortex-M?)
+ifeq ($(ARCH)$(BR2_ARM_CPU_ARMV7M),arm)
OPENSSL_TARGET_ARCH = armv4
endif
ifeq ($(ARCH),aarch64)
--
2.7.3
More information about the buildroot
mailing list