[Buildroot] [PATCH v2] pkcs11-helper: new package
Thomas Petazzoni
thomas.petazzoni at bootlin.com
Sun Apr 12 21:37:34 UTC 2020
Hello,
The commit title was not correct, should have been:
package/pkcs11-helper: new package
On Tue, 29 Oct 2019 17:56:03 -0700
aduskett at gmail.com wrote:
> +config BR2_PACKAGE_PKCS11_HELPER_GNUTLS_ENGINE
> + bool "gnutls engine support"
> + depends on !BR2_STATIC_LIBS
> + depends on BR2_USE_WCHAR
> + select BR2_PACKAGE_GNUTLS
> +
> +comment "gnutls support needs a toolchain w/ wchar, dynamic library"
> + depends on !BR2_USE_WCHAR || BR2_STATIC_LIBS
> +
> +config BR2_PACKAGE_PKCS11_HELPER_MBEDTLS_ENGINE
> + bool "mbedtls engine support"
> + select BR2_PACKAGE_MBEDTLS
> +
> +config BR2_PACKAGE_PKCS11_HELPER_NSS_ENGINE
> + bool "nss engine support"
> + depends on BR2_TOOLCHAIN_HAS_THREADS # libnspr
> + depends on BR2_PACKAGE_LIBNSPR_ARCH_SUPPORT # libnspr
> + depends on !BR2_STATIC_LIBS
> + select BR2_PACKAGE_LIBNSS
> +
> +comment "nss support needs a toolchain w/ threads, dynamic library"
> + depends on BR2_PACKAGE_LIBNSPR_ARCH_SUPPORT
> + depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS
> +
> +config BR2_PACKAGE_PKCS11_HELPER_OPENSSL_ENGINE
> + bool "openssl engine support"
> + select BR2_PACKAGE_OPENSSL
I have dropped all those sub-options, and replaced them by automatic
detection in the .mk file: we enable the crypto backends depending on
which packages are available.
Applied with those changes. Thanks!
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
More information about the buildroot
mailing list