diff mbox series

[5/6] tpm2-tools: propagate dependencies of selected packages

Message ID 20180322202752.2562-6-casantos@datacom.ind.br
State Accepted
Commit 4be409f401c0b1daba6ca84e79d3185c7cf10bbc
Headers show
Series tpm2-{tss, abrmd, tools} fix compilation errors | expand

Commit Message

Carlos Santos March 22, 2018, 8:27 p.m. UTC
- C++ (tpm2-tss)
- MMU (dbus, libglib)
- threads (libglib)
- wchar (libglib -> gettext)

Fixes (libglib):
  http://autobuild.buildroot.net/results/786859fccc477de1519d85d8a180626bb8ebe062
  http://autobuild.buildroot.net/results/df6518f331c16b477c6e934914d0e56dc102c228

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Carlos Santos <casantos@datacom.ind.br>
---
 package/tpm2-tools/Config.in | 8 ++++++++
 1 file changed, 8 insertions(+)

Comments

Peter Korsgaard March 22, 2018, 11:01 p.m. UTC | #1
>>>>> "Carlos" == Carlos Santos <casantos@datacom.ind.br> writes:

 > - C++ (tpm2-tss)
 > - MMU (dbus, libglib)
 > - threads (libglib)
 > - wchar (libglib -> gettext)

 > Fixes (libglib):
 >   http://autobuild.buildroot.net/results/786859fccc477de1519d85d8a180626bb8ebe062
 >   http://autobuild.buildroot.net/results/df6518f331c16b477c6e934914d0e56dc102c228

 > Signed-off-by: Baruch Siach <baruch@tkos.co.il>
 > Signed-off-by: Carlos Santos <casantos@datacom.ind.br>
 > ---
 >  package/tpm2-tools/Config.in | 8 ++++++++
 >  1 file changed, 8 insertions(+)

 > diff --git a/package/tpm2-tools/Config.in b/package/tpm2-tools/Config.in
 > index 6429b24531..5992cc1174 100644
 > --- a/package/tpm2-tools/Config.in
 > +++ b/package/tpm2-tools/Config.in
 > @@ -1,5 +1,8 @@
 >  config BR2_PACKAGE_TPM2_TOOLS
 >  	bool "tpm2-tools"
 > +	depends on BR2_USE_MMU # dbus, libglib
 > +	depends on BR2_USE_WCHAR # libglib -> gettext
 > +	depends on BR2_TOOLCHAIN_HAS_THREADS # libglib

You forgot BR2_INSTALL_LIBSTDCPP. Committed with that fixed, thanks.
diff mbox series

Patch

diff --git a/package/tpm2-tools/Config.in b/package/tpm2-tools/Config.in
index 6429b24531..5992cc1174 100644
--- a/package/tpm2-tools/Config.in
+++ b/package/tpm2-tools/Config.in
@@ -1,5 +1,8 @@ 
 config BR2_PACKAGE_TPM2_TOOLS
 	bool "tpm2-tools"
+	depends on BR2_USE_MMU # dbus, libglib
+	depends on BR2_USE_WCHAR # libglib -> gettext
+	depends on BR2_TOOLCHAIN_HAS_THREADS # libglib
 	select BR2_PACKAGE_DBUS
 	select BR2_PACKAGE_LIBCURL
 	select BR2_PACKAGE_LIBGLIB2
@@ -14,3 +17,8 @@  config BR2_PACKAGE_TPM2_TOOLS
 	  implementation.
 
 	  https://github.com/tpm2-software/tpm2-tools
+
+comment "tpm2-tools needs a toolchain w/ C++, wchar, threads"
+	depends on BR2_USE_MMU
+	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR \
+		|| !BR2_TOOLCHAIN_HAS_THREADS