tpm2-abrmd: declare dependency on a toolchain with C++

It depends on tpm2-tss, whose current version contains C++ code.

[Peter: add dependency to config option]
Signed-off-by: Carlos Santos <casantos@datacom.ind.br>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Carlos Santos 2018-03-22 17:27:49 -03:00 committed by Peter Korsgaard
parent 0f95f93b39
commit 003269a669

View File

@ -1,5 +1,6 @@
config BR2_PACKAGE_TPM2_ABRMD
bool "tpm2-abrmd"
depends on BR2_INSTALL_LIBSTDCPP # tpm2-tss
depends on BR2_USE_WCHAR # libglib2
depends on BR2_TOOLCHAIN_HAS_THREADS # dbus, libglib2
depends on BR2_USE_MMU # dbus, libglib2
@ -20,6 +21,7 @@ config BR2_PACKAGE_TPM2_ABRMD
https://github.com/tpm2-software/tpm2-abrmd
comment "tpm2-abrmd needs a toolchain w/ wchar, threads"
comment "tpm2-abrmd needs a toolchain w/ C++, wchar, threads"
depends on BR2_USE_MMU
depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR \
|| !BR2_TOOLCHAIN_HAS_THREADS