summaryrefslogtreecommitdiff
path: root/package/openocd
diff options
context:
space:
mode:
Diffstat (limited to 'package/openocd')
-rw-r--r--package/openocd/Config.in.host6
-rw-r--r--package/openocd/openocd.mk10
2 files changed, 16 insertions, 0 deletions
diff --git a/package/openocd/Config.in.host b/package/openocd/Config.in.host
new file mode 100644
index 000000000..238094256
--- /dev/null
+++ b/package/openocd/Config.in.host
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_HOST_OPENOCD
+ bool "host openocd"
+ help
+ OpenOCD - Open On-Chip Debugger
+
+ http://openocd.berlios.de/web/
diff --git a/package/openocd/openocd.mk b/package/openocd/openocd.mk
index 5f613673f..d79b33b70 100644
--- a/package/openocd/openocd.mk
+++ b/package/openocd/openocd.mk
@@ -29,4 +29,14 @@ ifeq ($(BR2_PACKAGE_OPENOCD_VSLLINK),y)
OPENOCD_CONF_OPT += --enable-vsllink
endif
+HOST_OPENOCD_DEPENDENCIES = host-libusb-compat host-libftdi
+
+HOST_OPENOCD_CONF_OPT = \
+ --disable-doxygen-html \
+ --enable-dummy \
+ --enable-ft2232_libftdi \
+ --enable-jlink \
+ --enable-vsllink
+
$(eval $(call AUTOTARGETS))
+$(eval $(call AUTOTARGETS,host))