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 90126 2012-02-22 19:23:24Z ryandesign@macports.org $ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | |
---|
6 | name openocd |
---|
7 | version 0.5.0 |
---|
8 | revision 1 |
---|
9 | categories cross devel |
---|
10 | license GPL |
---|
11 | maintainers snc openmaintainer |
---|
12 | description Open On-Chip Debugger |
---|
13 | long_description The Open On-Chip Debugger (OpenOCD) aims to provide \ |
---|
14 | debugging, in-system programming and boundary-scan \ |
---|
15 | testing for embedded target devices. Built with support \ |
---|
16 | for FT2232-based programmers by default. See variants for \ |
---|
17 | programmer options. |
---|
18 | homepage http://openocd.sourceforge.net/ |
---|
19 | platforms darwin |
---|
20 | |
---|
21 | master_sites sourceforge:project/openocd/openocd/${version} |
---|
22 | |
---|
23 | checksums rmd160 552f0c498730ee9347ec6d0cda7bf7663357ef8a \ |
---|
24 | sha256 efb99e0394249cbd518b51b052eea150d5f14557e9a2e0ddfae198792dca51c6 |
---|
25 | |
---|
26 | patchfiles arm7.diff |
---|
27 | |
---|
28 | configure.args-append --disable-werror --enable-maintainer-mode |
---|
29 | |
---|
30 | livecheck.url http://openocd.git.sourceforge.net/git/gitweb.cgi?p=openocd/openocd\;a=tags |
---|
31 | livecheck.type regex |
---|
32 | livecheck.regex v(\\d+(\\.\\d+)+)< |
---|
33 | |
---|
34 | default_variants +ft2232 |
---|
35 | |
---|
36 | variant dummy description {Enable building the dummy port driver} { |
---|
37 | configure.args-append --enable-dummy |
---|
38 | } |
---|
39 | |
---|
40 | variant parport description {Enable building the pc parallel port driver. WARNING: not supported on OS X.} { |
---|
41 | configure.args-append --enable-parport |
---|
42 | } |
---|
43 | |
---|
44 | variant ft2232 conflicts ft2232_ftd2xx description {Enable building support for FT2232 based devices using the libftdi driver, opensource alternate of FTD2XX} { |
---|
45 | configure.args-append --enable-ft2232_libftdi |
---|
46 | depends_lib-append port:libftdi |
---|
47 | } |
---|
48 | |
---|
49 | variant ft2232_ftd2xx conflicts ft2232 description {Enable building support for FT2232 based devices using the FTD2XX driver from ftdichip.com} { |
---|
50 | configure.args-append --enable-ft2232_ftd2xx |
---|
51 | depends_lib-append port:libftd2xx |
---|
52 | } |
---|
53 | |
---|
54 | variant usb_blaster conflicts usb_blaster_ftd2xx description {Enable building support for the Altera USB-Blaster using the libftdi driver, opensource alternate of FTD2XX} { |
---|
55 | configure.args-append --enable-usb_blaster_libftdi |
---|
56 | depends_lib-append port:libftdi |
---|
57 | } |
---|
58 | |
---|
59 | variant usb_blaster_ftd2xx conflicts usb_blaster description {Enable building support for the Altera USB-Blaster using the FTD2XX driver from ftdichip.com} { |
---|
60 | configure.args-append --enable-usb_blaster_ftd2xx |
---|
61 | depends_lib-append port:libftd2xx |
---|
62 | } |
---|
63 | |
---|
64 | variant amtjtagaccel description {Enable building the Amontec JTAG-Accelerator driver} { |
---|
65 | configure.args-append --enable-amtjtagaccel |
---|
66 | } |
---|
67 | |
---|
68 | variant ecosboard description {Enable building support for eCos based JTAG debugger} { |
---|
69 | configure.args-append --enable-ecosboard |
---|
70 | } |
---|
71 | |
---|
72 | variant zy1000_master requires zy1000 description {Use ZY1000 JTAG master registers} { |
---|
73 | configure.args-append --enable-zy1000-master |
---|
74 | } |
---|
75 | |
---|
76 | variant zy1000 conflicts minidriver_dummy description {Enable ZY1000 interface. WARNING: Using the minidriver disables all other drivers.} { |
---|
77 | configure.args-append --enable-zy1000 |
---|
78 | } |
---|
79 | |
---|
80 | variant ioutil description {Enable ioutil functions - useful for standalone OpenOCD implementations} { |
---|
81 | configure.args-append --enable-ioutil |
---|
82 | } |
---|
83 | |
---|
84 | variant ep93xx description {Enable building support for EP93xx based SBCs} { |
---|
85 | configure.args-append --enable-ep93xx |
---|
86 | } |
---|
87 | |
---|
88 | variant at91rm9200 description {Enable building support for AT91RM9200 based SBCs} { |
---|
89 | configure.args-append --enable-at91rm9200 |
---|
90 | } |
---|
91 | |
---|
92 | variant gw16012 description {Enable building support for the Gateworks GW16012 JTAG Programmer} { |
---|
93 | configure.args-append --enable-gw16012 |
---|
94 | } |
---|
95 | |
---|
96 | variant presto conflicts presto_ftd2xx description {Enable building support for ASIX Presto Programmer using the libftdi driver} { |
---|
97 | configure.args-append --enable-presto_libftdi |
---|
98 | depends_lib-append port:libftdi |
---|
99 | } |
---|
100 | |
---|
101 | variant presto_ftd2xx conflicts presto description {Enable building support for ASIX Presto Programmer using the FTD2XX driver} { |
---|
102 | configure.args-append --enable-presto_ftd2xx |
---|
103 | depends_lib-append port:libftd2xx |
---|
104 | } |
---|
105 | |
---|
106 | variant usbprog description {Enable building support for the usbprog JTAG Programmer} { |
---|
107 | configure.args-append --enable-usbprog |
---|
108 | } |
---|
109 | |
---|
110 | variant oocd_trace description {Enable building support for some prototype OpenOCD+trace ETM capture hardware} { |
---|
111 | configure.args-append --enable-oocd_trace |
---|
112 | } |
---|
113 | |
---|
114 | variant jlink description {Enable building support for the Segger J-Link JTAG Programmer} { |
---|
115 | configure.args-append --enable-jlink |
---|
116 | } |
---|
117 | |
---|
118 | variant vsllink description {Enable building support for the Versaloon-Link JTAG Programmer} { |
---|
119 | configure.args-append --enable-vsllink |
---|
120 | } |
---|
121 | |
---|
122 | variant rlink description {Enable building support for the Raisonance RLink JTAG Programmer} { |
---|
123 | configure.args-append --enable-rlink |
---|
124 | } |
---|
125 | |
---|
126 | variant ulink description {Enable building support for the Keil ULINK JTAG Programmer} { |
---|
127 | configure.args-append --enable-ulink |
---|
128 | } |
---|
129 | |
---|
130 | variant arm_jtag_ew description {Enable building support for the Olimex ARM-JTAG-EW Programmer} { |
---|
131 | configure.args-append --enable-arm-jtag-ew |
---|
132 | } |
---|
133 | |
---|
134 | variant buspirate description {Enable building support for the Buspirate} { |
---|
135 | configure.args-append --enable-buspirate |
---|
136 | } |
---|
137 | |
---|
138 | variant minidriver_dummy conflicts zy1000 description {Enable the dummy minidriver} { |
---|
139 | configure.args-append --enable-minidriver-dummy |
---|
140 | } |
---|
141 | |
---|