[Buildroot] [git commit] package/flannel: Add BR2_TOOLCHAIN_HAS_THREADS

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Thu May 26 19:05:41 UTC 2016


commit: https://git.buildroot.net/buildroot/commit/?id=263cadeb45fbe496e89c802eca07e1c90c826292
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

flannel uses the cgo package, so needs a toolchain with thread
support.

Signed-off-by: Geoff Levand <geoff at infradead.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
---
 package/flannel/Config.in | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/package/flannel/Config.in b/package/flannel/Config.in
index c6a84ef..cfdb909 100644
--- a/package/flannel/Config.in
+++ b/package/flannel/Config.in
@@ -1,6 +1,11 @@
+comment "flannel needs a toolchain w/ threads"
+	depends on BR2_PACKAGE_HOST_GO_ARCH_SUPPORTS
+	depends on !BR2_TOOLCHAIN_HAS_THREADS
+
 config BR2_PACKAGE_FLANNEL
 	bool "flannel"
 	depends on BR2_PACKAGE_HOST_GO_ARCH_SUPPORTS
+	depends on BR2_TOOLCHAIN_HAS_THREADS
 	help
 	  Flannel is a virtual network that gives a subnet to each
 	  host for use with container runtimes.


More information about the buildroot mailing list