summaryrefslogtreecommitdiff
path: root/package/openssl/Makefile
diff options
context:
space:
mode:
authorPhil Sutter <phil.sutter@viprinet.com>2012-07-18 17:19:35 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2012-07-18 17:36:46 +0200
commitc33cc4f051291d3523ba6d495d4fcd45aac5af91 (patch)
tree8f9d20b183b2be51fe611e9ddf82c8800f819b4b /package/openssl/Makefile
parentb87ee00d197c64b5db38cffdc274e99b8454feb7 (diff)
package/openssl: add support for cryptodev-linux
Some modifications to the original eng_cryptodev.c are needed, so add it as additional source file (overwriting the shipped one).
Diffstat (limited to 'package/openssl/Makefile')
-rw-r--r--package/openssl/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/package/openssl/Makefile b/package/openssl/Makefile
index 06c495e68..411a79b15 100644
--- a/package/openssl/Makefile
+++ b/package/openssl/Makefile
@@ -5,7 +5,7 @@ include ${TOPDIR}/rules.mk
PKG_NAME:= openssl
PKG_VERSION:= 1.0.1c
-PKG_RELEASE:= 1
+PKG_RELEASE:= 2
PKG_MD5SUM:= ae412727c8c15b67880aef7bd2999b2e
PKG_DESCR:= OpenSSL (Secure Socket Layer) libraries
PKG_SECTION:= libs
@@ -22,8 +22,10 @@ PKGSD_LIBOPENSSL_DEV:= development files for openssl
PKGSC_LIBOPENSSL_DEV:= devel
PKGSS_LIBOPENSSL_DEV:= libopenssl
-PKG_FLAVOURS_LIBOPENSSL:= WITH_EC
+PKG_FLAVOURS_LIBOPENSSL:= WITH_EC WITH_CRYPTODEV
PKGFD_WITH_EC:= enable Elliptic Curve crypto
+PKGFD_WITH_CRYPTODEV:= enable support for cryptodev-linux
+PKGFB_WITH_CRYPTODEV:= cryptodev-linux
ifeq ($(ADK_STATIC),y)
PKG_OPTS:= libonly
@@ -47,6 +49,10 @@ ifeq ($(ADK_PACKAGE_LIBOPENSSL_WITH_EC),)
OPENSSL_OPTIONS+= no-ec
endif
+ifneq ($(ADK_PACKAGE_LIBOPENSSL_WITH_CRYPTODEV),)
+OPENSSL_OPTIONS+= -DHAVE_CRYPTODEV -DUSE_CRYPTODEV_DIGESTS
+endif
+
do-configure:
(cd $(WRKBUILD); \
PATH=$(TARGET_PATH) \