package/flannel: Add BR2_TOOLCHAIN_HAS_THREADS
authorGeoff Levand <geoff@infradead.org>
Thu, 26 May 2016 18:21:33 +0000 (18:21 +0000)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thu, 26 May 2016 19:05:41 +0000 (21:05 +0200)
flannel uses the cgo package, so needs a toolchain with thread
support.

Signed-off-by: Geoff Levand <geoff@infradead.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/flannel/Config.in

index c6a84ef148c902ce1399c9db8e2efc26cae74269..cfdb9095fb50a6a9e5997e925a2dc902d22b6031 100644 (file)
@@ -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.