Patchwork [2/4] openssl: adjust ARM optimizations

login
register
mail settings
Submitter Gustavo Zacarias
Date April 4, 2013, 5:29 p.m.
Message ID <1365096588-1932-2-git-send-email-gustavo@zacarias.com.ar>
Download mbox | patch
Permalink /patch/233881/
State Accepted
Commit 1b7f398dbbc5d11e0c795f1644ccbdfbd12491ad
Headers show

Comments

Gustavo Zacarias - April 4, 2013, 5:29 p.m.
We no longer support ARM less than v4 so just kill dead code that we had
for those cases.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
 package/openssl/openssl.mk | 6 ------
 1 file changed, 6 deletions(-)

Patch

diff --git a/package/openssl/openssl.mk b/package/openssl/openssl.mk
index 96f817d..7701d51 100644
--- a/package/openssl/openssl.mk
+++ b/package/openssl/openssl.mk
@@ -29,14 +29,8 @@  endif
 
 # Some architectures are optimized in OpenSSL
 ifeq ($(ARCH),arm)
-ifneq ($(BR2_generic_arm),y)
-ifneq ($(BR2_arm610),y)
-ifneq ($(BR2_arm710),y)
 	OPENSSL_TARGET_ARCH = armv4
 endif
-endif
-endif
-endif
 ifeq ($(ARCH),powerpc)
 # 4xx cores seem to have trouble with openssl's ASM optimizations
 ifeq ($(BR2_powerpc_401)$(BR2_powerpc_403)$(BR2_powerpc_405)$(BR2_powerpc_405fp)$(BR2_powerpc_440)$(BR2_powerpc_440fp),)