libs/gnutls: Fix selecting cryptodev support fails to depend on kmod-cryptodev
It is not enough to select package kmod-cryptodev to avoid build failure; there must be a Makefile dependency on kmod-cryptodev in order for the build system to ensure kmod-cryptodev (and it's headers) are present during build. Therefore drop the select and add a conditional dependency. Signed-off-by: Daniel Dickinson <openwrt@daniel.thecshore.com>
This commit is contained in:
parent
272829f911
commit
6e288a01bf
2 changed files with 1 additions and 2 deletions
|
@ -17,7 +17,6 @@ config GNUTLS_OCSP
|
||||||
|
|
||||||
config GNUTLS_CRYPTODEV
|
config GNUTLS_CRYPTODEV
|
||||||
bool "enable /dev/crypto support"
|
bool "enable /dev/crypto support"
|
||||||
select PACKAGE_kmod-cryptodev
|
|
||||||
default n
|
default n
|
||||||
|
|
||||||
config GNUTLS_HEARTBEAT
|
config GNUTLS_HEARTBEAT
|
||||||
|
|
|
@ -93,7 +93,7 @@ endef
|
||||||
define Package/libgnutls
|
define Package/libgnutls
|
||||||
$(call Package/gnutls/Default)
|
$(call Package/gnutls/Default)
|
||||||
TITLE+= (library)
|
TITLE+= (library)
|
||||||
DEPENDS+= +libnettle +!LIBNETTLE_MINI:libgmp +GNUTLS_EXT_LIBTASN1:libtasn1 +GNUTLS_PKCS11:p11-kit
|
DEPENDS+= +libnettle +!LIBNETTLE_MINI:libgmp +GNUTLS_EXT_LIBTASN1:libtasn1 +GNUTLS_PKCS11:p11-kit +GNUTLS_CRYPTODEV:kmod-cryptodev
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/libgnutls/description
|
define Package/libgnutls/description
|
||||||
|
|
Loading…
Reference in a new issue