aboutsummaryrefslogtreecommitdiff
path: root/package/openssl
diff options
context:
space:
mode:
authorGravatar Gustavo Zacarias <gustavo@zacarias.com.ar>2016-06-22 10:47:28 -0300
committerGravatar Peter Korsgaard <peter@korsgaard.com>2016-06-22 16:59:23 +0200
commitcc89c4c5b0c9540d1935cd6a945b3a0908946db3 (patch)
treeb48c18fcdd5616f852e7d16e21c64630961a7d38 /package/openssl
parentcc48d7b80e16710e79563e15aeabf74c1e78b171 (diff)
downloadbuildroot-cc89c4c5b0c9540d1935cd6a945b3a0908946db3.tar.gz
buildroot-cc89c4c5b0c9540d1935cd6a945b3a0908946db3.tar.bz2
openssl: disable assembly for ARMv7M
It requires interwork and v7M is thumb-only. Fixes: http://autobuild.buildroot.net/results/55d/55dc9d6826defd2c9048c2991019d4d573d34af4/ [Peter: use R2_ARM_CPU_HAS_ARM for logic] Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/openssl')
-rw-r--r--package/openssl/openssl.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/package/openssl/openssl.mk b/package/openssl/openssl.mk
index 2368aa913c..e34868e842 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 ($(BR2_ARM_CPU_HAS_ARM),y)
OPENSSL_TARGET_ARCH = armv4
endif
ifeq ($(ARCH),aarch64)