diff options
author | Michael Grzeschik <m.grzeschik@pengutronix.de> | 2019-06-21 17:36:29 +0200 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2019-06-24 08:25:01 +0200 |
commit | 96d94db46c014c8a6f1c781b2322781b523ec167 (patch) | |
tree | 59d7cd0b1a47032935bfa5cfc275cb06d58641f4 | |
parent | 0c6517bfa3f94f42f72eb9c3d9b792ce5fa97f83 (diff) | |
download | ptxdist-96d94db46c014c8a6f1c781b2322781b523ec167.tar.gz ptxdist-96d94db46c014c8a6f1c781b2322781b523ec167.tar.xz |
host-openocd: add initial support
Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de>
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rw-r--r-- | rules/host-openocd.in | 12 | ||||
-rw-r--r-- | rules/host-openocd.make | 76 |
2 files changed, 88 insertions, 0 deletions
diff --git a/rules/host-openocd.in b/rules/host-openocd.in new file mode 100644 index 000000000..8c863598e --- /dev/null +++ b/rules/host-openocd.in @@ -0,0 +1,12 @@ +## SECTION=hosttools + +menuconfig HOST_OPENOCD + tristate + prompt "openocd" + select HOST_LIBUSB + select HOST_JIMTCL + select HOST_LIBFTDI1 + help + The "Open On-Chip Debugger" provides JTAG/SWD access from GDB + (or directly with TCL scripts) to processors with ARM and MIPS + based cores. diff --git a/rules/host-openocd.make b/rules/host-openocd.make new file mode 100644 index 000000000..bf99b3ee4 --- /dev/null +++ b/rules/host-openocd.make @@ -0,0 +1,76 @@ +# -*-makefile-*- +# +# Copyright (C) 2019 by Michael Grzeschik <mgr@pengutronix.de> +# +# See CREDITS for details about who has contributed to this project. +# +# For further information about the PTXdist project and license conditions +# see the README file. +# + +# +# We provide this package +# +HOST_PACKAGES-$(PTXCONF_HOST_OPENOCD) += host-openocd + +# ---------------------------------------------------------------------------- +# Prepare +# ---------------------------------------------------------------------------- + +# +# autoconf +# +HOST_OPENOCD_CONF_TOOL := autoconf +HOST_OPENOCD_CONF_ENV := \ + CCACHE=none +HOST_OPENOCD_CONF_OPT := \ + $(HOST_AUTOCONF) \ + --enable-shared \ + --disable-static \ + --disable-werror \ + --disable-internal-jimtcl \ + --disable-internal-libjaylink \ + --enable-dummy \ + --enable-ftdi \ + --enable-stlink \ + --disable-ti-icdi \ + --disable-ulink \ + --disable-usb-blaster-2 \ + --disable-ft232r \ + --disable-vsllink \ + --disable-xds110 \ + --disable-osbdm \ + --disable-opendous \ + --disable-aice \ + --disable-usbprog \ + --disable-rlink \ + --disable-armjtagew \ + --disable-cmsis-dap \ + --disable-kitprog \ + --disable-usb_blaster \ + --disable-presto\ + --disable-openjtag \ + --disable-jlink \ + --disable-parport \ + --disable-parport-ppdev \ + --disable-parport-giveio \ + --disable-jtag_vpi \ + --disable-amtjtagaccel \ + --disable-zy1000 \ + --disable-zy1000-master \ + --disable-ioutil \ + --disable-ep93xx \ + --disable-at91rm9200 \ + --disable-bcm2835gpio \ + --disable-imx_gpio \ + --disable-gw16012 \ + --disable-oocd_trace \ + --disable-buspirate \ + --disable-sysfsgpio \ + --disable-minidriver-dummy \ + --disable-target-64 \ + --disable-remote-bitbang \ + --disable-doxygen-pdf \ + --disable-doxygen-html + +# vim: syntax=make |