openocd: add host variant

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: Luca Ceresoli <luca@lucaceresoli.net>
Acked-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
Thomas Petazzoni 2012-01-28 18:42:54 +01:00 committed by Peter Korsgaard
parent 76cd6b18e3
commit 375d68d110
3 changed files with 17 additions and 0 deletions

View file

@ -1,5 +1,6 @@
menu "Host utilities"
source "package/openocd/Config.in.host"
source "package/uboot-tools/Config.in.host"
endmenu

View file

@ -0,0 +1,6 @@
config BR2_PACKAGE_HOST_OPENOCD
bool "host openocd"
help
OpenOCD - Open On-Chip Debugger
http://openocd.berlios.de/web/

View file

@ -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))