summaryrefslogtreecommitdiff
path: root/package/openssl/Makefile
diff options
context:
space:
mode:
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) \