source: trunk/dports/cross/openocd/Portfile @ 112971

Last change on this file since 112971 was 112971, checked in by snc@…, 7 years ago

openocd: add Tiva and Stellaris Launchpad support, #41205

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 5.6 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 112971 2013-11-05 19:21:28Z snc@macports.org $
3
4PortSystem          1.0
5
6name                openocd
7version             0.7.0
8categories          cross devel
9license             GPL
10maintainers         snc openmaintainer
11description         Open On-Chip Debugger
12long_description    The Open On-Chip Debugger (OpenOCD) aims to provide \
13                    debugging, in-system programming and boundary-scan \
14                    testing for embedded target devices. Built with support \
15                    for FT2232-based programmers by default. See variants for \
16                    programmer options.
17homepage            http://openocd.sourceforge.net/
18platforms           darwin
19
20master_sites        sourceforge:project/openocd/openocd/${version}
21
22use_bzip2           yes
23checksums           md5     8977a26a4e3a529e1c4fcc0df587a6a4 \
24                    sha1    40fa518af4fae273f24478249fc03aa6fcce9176 \
25                    rmd160  f232ce21a054ad56a80f0605fe8b22b6712434f0 \
26                    sha256  52237b786530c8460b221556c26fa4779f668b7dcb83ff14b8c5eb2050f38e63
27
28configure.args-append  --disable-werror --enable-maintainer-mode
29
30default_variants +ft2232
31
32variant dummy description {Enable building the dummy port driver} {
33    configure.args-append --enable-dummy
34}
35
36variant parport description {Enable building the pc parallel port driver. WARNING: not supported on OS X.} {
37    configure.args-append --enable-parport
38}
39
40variant ft2232 conflicts ft2232_ftd2xx  description {Enable building support for FT2232 based devices using the libftdi driver, opensource alternate of FTD2XX} {
41    configure.args-append --enable-ft2232_libftdi
42        depends_lib-append  port:libftdi0 \
43                        port:libusb-compat
44}
45
46variant ft2232_ftd2xx conflicts ft2232  description {Enable building support for FT2232 based devices using the FTD2XX driver from ftdichip.com} {
47    patchfiles-append patch-ftd2xx-path.diff
48    configure.args-append --enable-ft2232_ftd2xx
49        depends_lib-append port:libftd2xx
50}
51
52variant usb_blaster conflicts usb_blaster_ftd2xx description {Enable building support for the Altera USB-Blaster using the libftdi driver, opensource alternate of FTD2XX} {
53    configure.args-append --enable-usb_blaster_libftdi
54        depends_lib-append port:libftdi0
55}
56
57variant usb_blaster_ftd2xx conflicts usb_blaster description {Enable building support for the Altera USB-Blaster using the FTD2XX driver from ftdichip.com} {
58    configure.args-append --enable-usb_blaster_ftd2xx
59        depends_lib-append port:libftd2xx
60}
61
62variant amtjtagaccel description {Enable building the Amontec JTAG-Accelerator driver} {
63    configure.args-append --enable-amtjtagaccel
64}
65
66variant ecosboard description {Enable building support for eCos based JTAG debugger} {
67    configure.args-append --enable-ecosboard
68}
69
70variant zy1000_master requires zy1000 description {Use ZY1000 JTAG master registers} {
71    configure.args-append --enable-zy1000-master
72}
73
74variant zy1000 conflicts minidriver_dummy description {Enable ZY1000 interface. WARNING: Using the minidriver disables all other drivers.} {
75    configure.args-append --enable-zy1000
76}
77
78variant ioutil description {Enable ioutil functions - useful for standalone OpenOCD implementations} {
79    configure.args-append --enable-ioutil
80}
81
82variant ep93xx description {Enable building support for EP93xx based SBCs} {
83    configure.args-append --enable-ep93xx
84}
85
86variant at91rm9200 description {Enable building support for AT91RM9200 based SBCs} {
87    configure.args-append --enable-at91rm9200
88}
89
90variant gw16012 description {Enable building support for the Gateworks GW16012 JTAG Programmer} {
91    configure.args-append --enable-gw16012
92}
93
94variant presto conflicts presto_ftd2xx description {Enable building support for ASIX Presto Programmer using the libftdi driver} {
95    configure.args-append --enable-presto_libftdi
96        depends_lib-append port:libftdi0
97}
98
99variant presto_ftd2xx conflicts presto description {Enable building support for ASIX Presto Programmer using the FTD2XX driver} {
100    configure.args-append --enable-presto_ftd2xx
101        depends_lib-append port:libftd2xx
102}
103
104variant usbprog description {Enable building support for the usbprog JTAG Programmer} {
105    configure.args-append --enable-usbprog
106}
107
108variant oocd_trace description {Enable building support for some prototype OpenOCD+trace ETM capture hardware} {
109    configure.args-append --enable-oocd_trace
110}
111
112variant jlink description {Enable building support for the Segger J-Link JTAG Programmer} {
113    configure.args-append --enable-jlink
114}
115
116variant vsllink description {Enable building support for the Versaloon-Link JTAG Programmer} {
117    configure.args-append --enable-vsllink
118}
119
120variant rlink description {Enable building support for the Raisonance RLink JTAG Programmer} {
121    configure.args-append --enable-rlink
122}
123
124variant ulink description {Enable building support for the Keil ULINK JTAG Programmer} {
125    configure.args-append --enable-ulink
126}
127
128variant arm_jtag_ew description {Enable building support for the Olimex ARM-JTAG-EW Programmer} {
129    configure.args-append --enable-arm-jtag-ew
130}
131
132variant buspirate description {Enable building support for the Buspirate} {
133    configure.args-append --enable-buspirate
134}
135
136variant minidriver_dummy conflicts zy1000 description {Enable the dummy minidriver} {
137    configure.args-append --enable-minidriver-dummy
138}
139
140variant stlink description {Enable building support for the STM ST-link} {
141    configure.args-append --enable-stlink
142    depends_lib-append  port:libusb
143}
144
145variant ti description {TI-ICDI interface on Stellaris Launchpad} {
146    configure.args-append --enable-ti-icdi
147    depends_lib-append  port:libusb
148}
149
Note: See TracBrowser for help on using the repository browser.