kumquat-buildroot/package/wolftpm/Config.in
Fabrice Fontaine 49766be2f2 package/wolftpm: fix dependencies
pkg-config is not used by wolftpm and wolfssl dependency is missing (and
optional but highly recommended) resulting in the following build failure
since the addition of the package in commit
4bb884a3c6:

configure: error: WolfSSL library not found. You can get it from http://www.wolfssl.com/download.html
        If it's already installed, specify its path using --with-wolfcrypt=/dir or --prefix=/dir

Fixes:
 - http://autobuild.buildroot.org/results/77a93521b909e701ef4e86f18524258b9242c721

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2022-06-12 17:18:17 +02:00

30 lines
889 B
Plaintext

config BR2_PACKAGE_WOLFTPM
bool "wolftpm"
help
wolfTPM is a portable, open-source TPM 2.0 stack with
backward API compatibility, designed for embedded use.
No external dependencies, compact code size with low
resource usage.
https://www.wolfssl.com/
if BR2_PACKAGE_WOLFTPM
config BR2_PACKAGE_WOLFTPM_WOLFCRYPT
bool "wolfCrypt hooks"
default y
depends on BR2_TOOLCHAIN_HAS_THREADS # wolfssl
depends on !BR2_STATIC_LIBS # wolfssl-all
select BR2_PACKAGE_WOLFSSL
# not mandatory, but needed to get all features
select BR2_PACKAGE_WOLFSSL_ALL
help
Enable wolfCrypt hooks for RNG, Auth Sessions and Parameter
encryption. Disabling this option is not recommended as it
could create a security breach in most environments.
comment "wolfCrypt hooks need a toolchain w/ threads, dynamic library"
depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS
endif