summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Shyu <matthew.shyu@amlogic.com>2016-04-19 18:26:46 +0800
committerPeter Korsgaard <peter@korsgaard.com>2016-04-20 08:59:32 +0200
commit817d3a02acf65b31e02ba1b026201f72b908c8ce (patch)
tree956aa4efdba66f6ab7767fc872af098b0f5ac96d
parent0fc78cbe8b609c7c795e116d6107324458186013 (diff)
openssl: enable aarch64 optimization
Signed-off-by: Matthew Shyu <matthew.shyu@amlogic.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rw-r--r--package/openssl/openssl.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/package/openssl/openssl.mk b/package/openssl/openssl.mk
index 3b8e52563..2f50dfb1f 100644
--- a/package/openssl/openssl.mk
+++ b/package/openssl/openssl.mk
@@ -37,6 +37,9 @@ endif
ifeq ($(ARCH),arm)
OPENSSL_TARGET_ARCH = armv4
endif
+ifeq ($(ARCH),aarch64)
+OPENSSL_TARGET_ARCH = aarch64
+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),)