diff options
author | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2012-01-28 18:42:54 +0100 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2012-02-02 21:02:26 +0100 |
commit | 375d68d110a0548aff7a7e54b65bbb92051911ff (patch) | |
tree | 41cad049720e4ea401c787ac8fcf22a99785c501 /package | |
parent | 76cd6b18e3b6720f7dc5997dac0831ef7e62912d (diff) | |
download | buildroot-novena-375d68d110a0548aff7a7e54b65bbb92051911ff.tar.gz buildroot-novena-375d68d110a0548aff7a7e54b65bbb92051911ff.zip |
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>
Diffstat (limited to 'package')
-rw-r--r-- | package/Config.in.host | 1 | ||||
-rw-r--r-- | package/openocd/Config.in.host | 6 | ||||
-rw-r--r-- | package/openocd/openocd.mk | 10 |
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)) |