tpm2-tss: declare dependency on a toolchain with C++
authorCarlos Santos <casantos@datacom.ind.br>
Thu, 22 Mar 2018 20:27:47 +0000 (17:27 -0300)
committerPeter Korsgaard <peter@korsgaard.com>
Thu, 22 Mar 2018 22:50:42 +0000 (23:50 +0100)
Version 1.4.0 still contains some C++ code. This has already changed on
upstream, so future versions will drop the dependency on a C++ compiler.

[Peter: fix indentation, add dependency to config option]
Signed-off-by: Carlos Santos <casantos@datacom.ind.br>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/tpm2-tss/Config.in

index ebf0fd262d937a52c3eede18271f137902f3a618..7a757bd70a730d7b8f36bc52042195a784d058f6 100644 (file)
@@ -1,5 +1,6 @@
 config BR2_PACKAGE_TPM2_TSS
        bool "tpm2-tss"
+       depends on BR2_INSTALL_LIBSTDCPP
        select BR2_PACKAGE_LIBURIPARSER
        help
          OSS implementation of the Trusted Computing Group's (TCG) TPM2
@@ -29,3 +30,6 @@ config BR2_PACKAGE_TPM2_TSS
            Microsoft software TPM2 simulator.
 
          https://github.com/tpm2-software/tpm2-tss
+
+comment "tpm2-tss needs a toolchain w/ C++"
+       depends on !BR2_INSTALL_LIBSTDCPP