mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-30 22:11:59 -09:00
package/wolftpm: add config option to enable debug output
Signed-off-by: Dimitar Tomov <dimi@tpm.dev> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
committed by
Thomas Petazzoni
parent
09779d0f69
commit
fada6de8b0
@@ -35,6 +35,11 @@ config BR2_PACKAGE_WOLFTPM_NUVOTON
|
|||||||
Enable support of TPM 2.0 extra functionality offered by the
|
Enable support of TPM 2.0 extra functionality offered by the
|
||||||
Nuvoton NPCT750 chip.
|
Nuvoton NPCT750 chip.
|
||||||
|
|
||||||
|
config BR2_PACKAGE_WOLFTPM_DEBUG
|
||||||
|
bool "Debug output"
|
||||||
|
help
|
||||||
|
Enable debug messages in wolfTPM.
|
||||||
|
|
||||||
comment "wolfCrypt hooks need a toolchain w/ threads, dynamic library"
|
comment "wolfCrypt hooks need a toolchain w/ threads, dynamic library"
|
||||||
depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS
|
depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS
|
||||||
|
|
||||||
|
|||||||
@@ -47,4 +47,10 @@ else
|
|||||||
WOLFTPM_CONF_OPTS += --disable-nuvoton
|
WOLFTPM_CONF_OPTS += --disable-nuvoton
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_WOLFTPM_DEBUG),y)
|
||||||
|
WOLFTPM_CONF_OPTS += --enable-debug
|
||||||
|
else
|
||||||
|
WOLFTPM_CONF_OPTS += --disable-debug
|
||||||
|
endif
|
||||||
|
|
||||||
$(eval $(autotools-package))
|
$(eval $(autotools-package))
|
||||||
|
|||||||
Reference in New Issue
Block a user