summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
Diffstat (limited to 'package')
-rw-r--r--package/Config.in.host1
-rw-r--r--package/openocd/Config.in.host6
-rw-r--r--package/openocd/openocd.mk10
3 files changed, 17 insertions, 0 deletions
diff --git a/package/Config.in.host b/package/Config.in.host
index b8f8aab02..6bc828b89 100644
--- a/package/Config.in.host
+++ b/package/Config.in.host
@@ -1,5 +1,6 @@
menu "Host utilities"
+source "package/openocd/Config.in.host"
source "package/uboot-tools/Config.in.host"
endmenu
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))