summaryrefslogtreecommitdiff
path: root/package/openocd
diff options
context:
space:
mode:
Diffstat (limited to 'package/openocd')
-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