From: Michael Grzeschik <m.grzeschik@pengutronix.de>
To: ptxdist@pengutronix.de
Subject: [ptxdist] [PATCH 3/3] host-openocd: add new package
Date: Sun, 22 Jun 2014 09:41:09 +0200 [thread overview]
Message-ID: <1403422869-13390-3-git-send-email-m.grzeschik@pengutronix.de> (raw)
In-Reply-To: <1403422869-13390-1-git-send-email-m.grzeschik@pengutronix.de>
Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de>
---
rules/host-openocd.in | 184 ++++++++++++++++++++++++++++++++++++++++++++++++
rules/host-openocd.make | 71 +++++++++++++++++++
2 files changed, 255 insertions(+)
create mode 100644 rules/host-openocd.in
create mode 100644 rules/host-openocd.make
diff --git a/rules/host-openocd.in b/rules/host-openocd.in
new file mode 100644
index 0000000..8071f3c
--- /dev/null
+++ b/rules/host-openocd.in
@@ -0,0 +1,184 @@
+## SECTION=hosttools
+
+menuconfig HOST_OOCD
+ tristate
+ prompt "openocd"
+ select HOST_LIBUSB
+ select HOST_LIBUSB_COMPAT
+ 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.
+
+if HOST_OOCD
+
+config HOST_OOCD_DUMMY
+ prompt "dummy support"
+ bool
+
+config HOST_OOCD_FTDI
+ prompt "ftdi support"
+ bool
+
+config HOST_OOCD_STLINK
+ prompt "stlink support"
+ bool
+
+config HOST_OOCD_TI_ICDI
+ prompt "ti_icdi support"
+ bool
+
+config HOST_OOCD_ULINK
+ prompt "ulink support"
+ bool
+
+config HOST_OOCD_USBBLASTER2
+ prompt "usb blaster 2 support"
+ bool
+
+config HOST_OOCD_JLINK
+ prompt "jlink support"
+ bool
+
+config HOST_OOCD_OSBDM
+ prompt "osbdm support"
+ bool
+
+config HOST_OOCD_OPENDOUS
+ prompt "opendous support"
+ bool
+
+config HOST_OOCD_AICE
+ prompt "aice support"
+ bool
+
+config HOST_OOCD_VSLLINK
+ prompt "vsllink support"
+ bool
+
+config HOST_OOCD_USBPROG
+ prompt "usbprog support"
+ bool
+
+config HOST_OOCD_RLINK
+ prompt "rlink support"
+ bool
+
+config HOST_OOCD_ARMJTAGEW
+ prompt "armjtagew support"
+ bool
+
+config HOST_OOCD_CMSIS_DAP
+ prompt "cbsis-dap support"
+ bool
+
+config HOST_OOCD_PARPORT
+ prompt "parport support"
+ bool
+
+config HOST_OOCD_LEGACY_FT2232_LIBFTDI
+ prompt "legacy ft2232 libftdi support"
+ bool
+
+config HOST_OOCD_LEGACY_FT2232_FTD2XX
+ prompt "legacy ft2232 ftd2xx support"
+ bool
+
+config HOST_OOCD_JTAG_VPI
+ prompt "jtag vpi support"
+ bool
+
+config HOST_OOCD_LIBFTDI_USBBLASTER
+ prompt "libftdi usb blaster support"
+ bool
+
+config HOST_OOCD_FTD2XX_USBBLASTER
+ prompt "ftd2xx usb blaster support"
+ bool
+
+config HOST_OOCD_AMTJTAGA
+ prompt "amontec jtag accel support"
+ bool
+
+config HOST_OOCD_ZY1000M
+ prompt "zy1000 Master support"
+ bool
+
+config HOST_OOCD_ZY1000
+ prompt "zy1000 interface support"
+ bool
+
+config HOST_OOCD_IOUTIL
+ prompt "ioutil support"
+ bool
+
+config HOST_OOCD_EP93XX
+ prompt "ep93xx support"
+ bool
+
+config HOST_OOCD_AT91RM9200
+ prompt "at91rm9200 support"
+ bool
+
+config HOST_OOCD_BCM2835_GPIO
+ prompt "bcm2835 gpio support"
+ bool
+
+config HOST_OOCD_GW16012
+ prompt "gw16012 support"
+ bool
+
+config HOST_OOCD_PRESTO_LIBFTDI
+ prompt "presto_libftdi support"
+ bool
+
+config HOST_OOCD_PRESTO_FTD2XX
+ prompt "presto_ftd2xx support"
+ bool
+
+config HOST_OOCD_OPENJTAG_FTD2XX
+ prompt "openjtag_ftd2xx support"
+ bool
+
+config HOST_OOCD_OPENJTAG_FTDI
+ prompt "openjtag_ftdi support"
+ bool
+
+config HOST_OOCD_TRACE
+ prompt "oocd trace support"
+ bool
+
+config HOST_OOCD_BUSPIRATE
+ prompt "buspirate support"
+ bool
+
+config HOST_OOCD_SYSFS_GPIO
+ prompt "sysfs gpio support"
+ bool
+
+config HOST_OOCD_MINIDRIVER_DUMMY
+ prompt "minidriver dummy support"
+ bool
+
+config HOST_OOCD_LIBUSB0
+ prompt "libusb0 support"
+ bool
+
+config HOST_OOCD_REMOTE_BITBANG
+ prompt "remote bitbang support"
+ bool
+
+config HOST_OOCD_JTAG
+ string
+ prompt "target jtag device"
+ default "interface/ti-icdi.cfg"
+
+config HOST_OOCD_BOARD
+ string
+ prompt "target board to jtag"
+ default "board/ek-lm4f120xl.cfg"
+
+endif
+~
+~
diff --git a/rules/host-openocd.make b/rules/host-openocd.make
new file mode 100644
index 0000000..2a87408
--- /dev/null
+++ b/rules/host-openocd.make
@@ -0,0 +1,71 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2013 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_OOCD) += host-oocd
+
+#
+# Paths and names
+#
+HOST_OOCD_VERSION := 0.8.0
+HOST_OOCD_MD5 := 6d83c34763a5f1d1ac7ad83c5a11f4fb
+HOST_OOCD := openocd-$(HOST_OOCD_VERSION)
+HOST_OOCD_SUFFIX := tar.bz2
+HOST_OOCD_URL := $(call ptx/mirror, SF, openocd/$(HOST_OOCD).$(HOST_OOCD_SUFFIX))
+HOST_OOCD_SOURCE := $(SRCDIR)/$(HOST_OOCD).$(HOST_OOCD_SUFFIX)
+HOST_OOCD_DIR := $(HOST_BUILDDIR)/$(HOST_OOCD)
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+#
+# autoconf
+#
+HOST_OOCD_CONF_TOOL := autoconf
+HOST_OOCD_CONF_OPT := \
+ $(HOST_AUTOCONF) \
+ --$(call ptx/endis, PTXCONF_HOST_OOCD_DUMMY)-dummy \
+ --$(call ptx/endis, PTXCONF_HOST_OOCD_PARPORT)-parport \
+ --$(call ptx/endis, PTXCONF_HOST_OOCD_LIBFTDI)-ft2232_libftdi \
+ --$(call ptx/endis, PTXCONF_HOST_OOCD_FTD2XX)-ft2232_ftd2xx \
+ --$(call ptx/endis, PTXCONF_HOST_OOCD_FTDI_MPSSE)-ftdi \
+ --$(call ptx/endis, PTXCONF_HOST_OOCD_FTDI_USBBLASTER)-usb_blaster_libftdi \
+ --$(call ptx/endis, PTXCONF_HOST_OOCD_FTD2XX_USBBLASTER)-usb_blaster_ftd2xx \
+ --$(call ptx/endis, PTXCONF_HOST_OOCD_AMTJTAGA)-amtjtagaccel \
+ --$(call ptx/endis, PTXCONF_HOST_OOCD_XY1000M)-zy1000-master \
+ --$(call ptx/endis, PTXCONF_HOST_OOCD_XY1000)-zy1000 \
+ --$(call ptx/endis, PTXCONF_HOST_OOCD_IOUTIL)-ioutil \
+ --$(call ptx/endis, PTXCONF_HOST_OOCD_EB93XX)-ep93xx \
+ --$(call ptx/endis, PTXCONF_HOST_OOCD_AT91RM9200)-at91rm9200 \
+ --$(call ptx/endis, PTXCONF_HOST_OOCD_GW16012)-gw16012 \
+ --$(call ptx/endis, PTXCONF_HOST_OOCD_PRESTO_LIBFTDI)-presto_libftdi \
+ --$(call ptx/endis, PTXCONF_HOST_OOCD_PRESTO_FTD2XX)-presto_ftd2xx \
+ --$(call ptx/endis, PTXCONF_HOST_OOCD_USBPROG)-usbprog \
+ --$(call ptx/endis, PTXCONF_HOST_OOCD_TRACE)-oocd_trace \
+ --$(call ptx/endis, PTXCONF_HOST_OOCD_JLINK)-jlink \
+ --$(call ptx/endis, PTXCONF_HOST_OOCD_VSLLINK)-vsllink \
+ --$(call ptx/endis, PTXCONF_HOST_OOCD_RLINK)-rlink \
+ --$(call ptx/endis, PTXCONF_HOST_OOCD_ULINK)-ulink \
+ --$(call ptx/endis, PTXCONF_HOST_OOCD_ARM_JTAG_EW)-arm-jtag-ew \
+ --$(call ptx/endis, PTXCONF_HOST_OOCD_BUSPIRATE)-buspirate \
+ --$(call ptx/endis, PTXCONF_HOST_OOCD_STLINK)-stlink \
+ --$(call ptx/endis, PTXCONF_HOST_OOCD_TI_ICDI)-ti-icdi \
+ --$(call ptx/endis, PTXCONF_HOST_OOCD_OSBDM)-osbdm \
+ --$(call ptx/endis, PTXCONF_HOST_OOCD_OPENDOUS)-opendous \
+ --$(call ptx/endis, PTXCONF_HOST_OOCD_SYSFS_GPIO)-sysfsgpio \
+ --$(call ptx/endis, PTXCONF_HOST_OOCD_MINIDRIVER_DUMMY)-minidriver-dummy \
+ --$(call ptx/endis, PTXCONF_HOST_OOCD_LIBUSB0)-libusb0 \
+ --$(call ptx/endis, PTXCONF_HOST_OOCD_REMOTE_BITBANG)-remote-bitbang
+
+
+# vim: syntax=make
--
2.0.0
--
ptxdist mailing list
ptxdist@pengutronix.de
next prev parent reply other threads:[~2014-06-22 7:41 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-06-22 7:41 [ptxdist] [PATCH 1/3] host-libftdi1: " Michael Grzeschik
2014-06-22 7:41 ` [ptxdist] [PATCH 2/3] host-libusb-compat: " Michael Grzeschik
2014-06-23 14:06 ` Michael Olbrich
2014-06-22 7:41 ` Michael Grzeschik [this message]
2014-06-23 14:09 ` [ptxdist] [PATCH 3/3] host-openocd: " Michael Olbrich
2014-09-29 17:27 ` Andreas Pretzsch
2014-06-23 14:03 ` [ptxdist] [PATCH 1/3] host-libftdi1: " Michael Olbrich
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1403422869-13390-3-git-send-email-m.grzeschik@pengutronix.de \
--to=m.grzeschik@pengutronix.de \
--cc=ptxdist@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox