From 5c3390ff78ca01fcbadf1804c3fd6264d966dfd9 Mon Sep 17 00:00:00 2001 From: nbd Date: Mon, 24 Sep 2012 15:23:57 +0000 Subject: openssl: use asm SHA1, SHA256, AES on MIPS. On a lightly loaded 24Kc, as measured by 'openssl speed sha1', shows between 27% and 120% speedup depending on block size. SHA1 is notably used in Transmission for piece verification. Patch by Catalin Patulea git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33531 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/openssl/Makefile | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'package/openssl/Makefile') diff --git a/package/openssl/Makefile b/package/openssl/Makefile index d95783aac9..cfc3b3d92d 100644 --- a/package/openssl/Makefile +++ b/package/openssl/Makefile @@ -88,8 +88,13 @@ endif ifeq ($(CONFIG_x86_64),y) OPENSSL_TARGET:=linux-x86_64 else - OPENSSL_TARGET:=linux-openwrt - OPENSSL_OPTIONS+=no-perlasm no-sse2 + OPENSSL_OPTIONS+=no-sse2 + ifeq ($(CONFIG_mips)$(CONFIG_mipsel),y) + OPENSSL_TARGET:=linux-mips-openwrt + else + OPENSSL_TARGET:=linux-generic-openwrt + OPENSSL_OPTIONS+=no-perlasm + endif endif define Build/Configure -- cgit v1.2.3