Skip to contentSkip to conversation

dstat: propagate python dependencies

PATCH New Jérôme Pouiller 2 participants 2 messages Oct 31, 2014 – Nov 1, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 dstat: propagate python dependencies

---
 package/dstat/Config.in | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
package/dstat/Config.in +2 -1
index 62a392a..52fbb49 100644
@@ -2,6 +2,7 @@ config BR2_PACKAGE_DSTAT
 	bool "dstat"
 	depends on BR2_USE_WCHAR # python
 	depends on BR2_USE_MMU # python
+	depends on BR2_TOOLCHAIN_HAS_THREADS # python
 	select BR2_PACKAGE_PYTHON
 	help
 	  Dstat, written in Python, is a versatile replacement for vmstat,
@@ -22,4 +23,4 @@ config BR2_PACKAGE_DSTAT
 
 comment "dstat needs a toolchain w/ wchar"
 	depends on BR2_USE_MMU
-	depends on !BR2_USE_WCHAR
+	depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
Signature · 1 line
1.9.1
#1 lore raw

PATCH 1/1 dstat: propagate python dependencies

Dear J?r?me Pouiller,

Quoted 18 lines · J?r?me Pouiller
---
 package/dstat/Config.in | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
package/dstat/Config.in +1 -0
index 62a392a..52fbb49 100644
@@ -2,6 +2,7 @@ config BR2_PACKAGE_DSTAT
 	bool "dstat"
 	depends on BR2_USE_WCHAR # python
 	depends on BR2_USE_MMU # python
+	depends on BR2_TOOLCHAIN_HAS_THREADS # python
 	select BR2_PACKAGE_PYTHON
 	help
 	  Dstat, written in Python, is a versatile replacement for vmstat,

package/dstat/Config.in config BR2_PACKAGE_DSTAT · line 24

Quoted 2 lines
package/dstat/Config.in +0 -0
@@ -22,4 +23,4 @@ config BR2_PACKAGE_DSTAT
 
 comment "dstat needs a toolchain w/ wchar"

You forgot to update the comment here regarding the new thread dependency.

Committed with this fixed, thanks!

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com