tpm2-abrmd: declare dependency on a toolchain with C++
authorCarlos Santos <casantos@datacom.ind.br>
Thu, 22 Mar 2018 20:27:49 +0000 (17:27 -0300)
committerPeter Korsgaard <peter@korsgaard.com>
Thu, 22 Mar 2018 22:57:45 +0000 (23:57 +0100)
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>
package/tpm2-abrmd/Config.in

index 31c5ae7d6bf0d8494d9b3c0f82c732b9f41d8b3b..25c27c0abb2bcf862f3860d072dbd9b28a4900a0 100644 (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