summaryrefslogtreecommitdiff
path: root/package/openocd/Config.in
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavo@zacarias.com.ar>2012-06-27 22:35:25 -0300
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2012-07-30 21:27:10 +0200
commit09a29b6a897158070e87493935aba817a58c33fd (patch)
treeb9a35f8215d3c9f2d4c35df9abf9b7f7c3cd3f9d /package/openocd/Config.in
parent99492e0dfacc53d1fbfa50ac10dac35630e120a1 (diff)
libusb: needs thread support
libusb needs thread support, and so do other packages that depend on it. [thomas.petazzoni@free-electrons.com: adds threads dependency to libnfc-llp, which selects libnfc.] Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/openocd/Config.in')
-rw-r--r--package/openocd/Config.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/openocd/Config.in b/package/openocd/Config.in
index f67c0a841..4ea66a5b9 100644
--- a/package/openocd/Config.in
+++ b/package/openocd/Config.in
@@ -1,5 +1,6 @@
config BR2_PACKAGE_OPENOCD
bool "openocd"
+ depends on BR2_TOOLCHAIN_HAS_THREADS # libusb
select BR2_PACKAGE_LIBUSB
select BR2_PACKAGE_LIBUSB_COMPAT
help
@@ -27,3 +28,6 @@ config BR2_PACKAGE_OPENOCD_VSLLINK
bool "Versaloon-Link JTAG Programmr"
endif # BR2_PACKAGE_OPENOCD
+
+comment "openocd needs a toolchain with thread support"
+ depends on !BR2_TOOLCHAIN_HAS_THREADS