aboutsummaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorGravatar Yann E. MORIN <yann.morin.1998@free.fr>2016-09-04 00:58:41 +0200
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-09-04 15:39:27 +0200
commitcf03d6fe04c9e31889055a4cc038597b0a4b3f80 (patch)
tree4127fafe0a44b3a4876e0018ae790274d56c9048 /package
parent66c767aeed40b631e0e8b9a7a770a24662b3f3ea (diff)
downloadbuildroot-cf03d6fe04c9e31889055a4cc038597b0a4b3f80.tar.gz
buildroot-cf03d6fe04c9e31889055a4cc038597b0a4b3f80.tar.bz2
package/openssl: depend on the virtual cryptodev package
Instead of depending on each provider of cryptodev, make openssl depend on the virtual package. This is easy because in both cases the openssl build systems needs the same configuration options. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package')
-rw-r--r--package/openssl/openssl.mk9
1 files changed, 2 insertions, 7 deletions
diff --git a/package/openssl/openssl.mk b/package/openssl/openssl.mk
index b926fe30af..efe2b49ad8 100644
--- a/package/openssl/openssl.mk
+++ b/package/openssl/openssl.mk
@@ -28,14 +28,9 @@ ifeq ($(BR2_USE_MMU),)
OPENSSL_CFLAGS += -DHAVE_FORK=0
endif
-ifeq ($(BR2_PACKAGE_CRYPTODEV_LINUX),y)
+ifeq ($(BR2_PACKAGE_HAS_CRYPTODEV),y)
OPENSSL_CFLAGS += -DHAVE_CRYPTODEV -DUSE_CRYPTODEV_DIGESTS
-OPENSSL_DEPENDENCIES += cryptodev-linux
-endif
-
-ifeq ($(BR2_PACKAGE_OCF_LINUX),y)
-OPENSSL_CFLAGS += -DHAVE_CRYPTODEV -DUSE_CRYPTODEV_DIGESTS
-OPENSSL_DEPENDENCIES += ocf-linux
+OPENSSL_DEPENDENCIES += cryptodev
endif
# Some architectures are optimized in OpenSSL