package/ecryptfs-utils: add pkcs11-helper optional dependency

pkcs11-helper is an optional dependency which needs openssl

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
This commit is contained in:
Fabrice Fontaine 2022-06-13 22:31:12 +02:00 committed by Arnout Vandecappelle (Essensium/Mind)
parent dbfb753749
commit f90061fc38

View File

@ -26,6 +26,14 @@ endif
ifeq ($(BR2_PACKAGE_OPENSSL),y)
ECRYPTFS_UTILS_CONF_OPTS += --enable-openssl
ECRYPTFS_UTILS_DEPENDENCIES += openssl
ifeq ($(BR2_PACKAGE_PKCS11_HELPER),y)
ECRYPTFS_UTILS_CONF_OPTS += --enable-pkcs11-helper
ECRYPTFS_UTILS_DEPENDENCIES += pkcs11-helper
else
ECRYPTFS_UTILS_CONF_OPTS += --disable-pkcs11-helper
endif
else
ECRYPTFS_UTILS_CONF_OPTS += --disable-openssl
endif