[90094] trunk/dports/cross/openocd

snc at macports.org snc at macports.org
Tue Feb 21 08:10:21 PST 2012


Revision: 90094
          http://trac.macports.org/changeset/90094
Author:   snc at macports.org
Date:     2012-02-21 08:10:19 -0800 (Tue, 21 Feb 2012)
Log Message:
-----------
openocd: update to 0.5.0, #32658

Modified Paths:
--------------
    trunk/dports/cross/openocd/Portfile

Removed Paths:
-------------
    trunk/dports/cross/openocd/files/

Modified: trunk/dports/cross/openocd/Portfile
===================================================================
--- trunk/dports/cross/openocd/Portfile	2012-02-21 16:04:50 UTC (rev 90093)
+++ trunk/dports/cross/openocd/Portfile	2012-02-21 16:10:19 UTC (rev 90094)
@@ -4,7 +4,7 @@
 PortSystem          1.0
 
 name                openocd
-version             0.4.0
+version             0.5.0
 revision            1
 categories          cross devel
 license             GPL
@@ -13,21 +13,127 @@
 long_description    The Open On-Chip Debugger (OpenOCD) aims to provide \
                     debugging, in-system programming and boundary-scan \
                     testing for embedded target devices. Built with support \
-                    for FT2232 based devices.
+                    for FT2232-based programmers by default. See variants for \
+                    programmer options.
 homepage            http://openocd.sourceforge.net/
 platforms           darwin
 
 master_sites        sourceforge:openocd
 
-checksums           rmd160  69ce61cec0aebce1300f44af029bf644194ebce9 \
-                    sha256  fc4b8b55c25920c0024e6e621c4127e92acbe9f6bafaf72b90fd60a5536e9194
+checksums           rmd160  552f0c498730ee9347ec6d0cda7bf7663357ef8a \
+                    sha256  efb99e0394249cbd518b51b052eea150d5f14557e9a2e0ddfae198792dca51c6
 
-depends_lib         port:libftdi
+configure.args-append  --disable-werror --enable-maintainer-mode
 
-patchfiles          patch-openocd-maskisr-when-stepping-after-breakpoint.diff
-
-configure.args-append   --enable-ft2232_libftdi --disable-werror
-
 livecheck.url       http://openocd.git.sourceforge.net/git/gitweb.cgi?p=openocd/openocd\;a=tags
 livecheck.type      regex
 livecheck.regex     v(\\d+(\\.\\d+)+)<
+
+default_variants +ft2232
+
+variant dummy description {Enable building the dummy port driver} {
+    configure.args-append --enable-dummy
+}
+
+variant parport description {Enable building the pc parallel port driver. WARNING: not supported on OS X.} {
+    configure.args-append --enable-parport
+}
+
+variant ft2232 conflicts ft2232_ftd2xx  description {Enable building support for FT2232 based devices using the libftdi driver, opensource alternate of FTD2XX} {
+    configure.args-append --enable-ft2232_libftdi
+	depends_lib-append port:libftdi
+}
+
+variant ft2232_ftd2xx conflicts ft2232  description {Enable building support for FT2232 based devices using the FTD2XX driver from ftdichip.com} {
+    configure.args-append --enable-ft2232_ftd2xx
+	depends_lib-append port:libftd2xx
+}
+
+variant usb_blaster conflicts usb_blaster_ftd2xx description {Enable building support for the Altera USB-Blaster using the libftdi driver, opensource alternate of FTD2XX} {
+    configure.args-append --enable-usb_blaster_libftdi
+	depends_lib-append port:libftdi
+}
+
+variant usb_blaster_ftd2xx conflicts usb_blaster description {Enable building support for the Altera USB-Blaster using the FTD2XX driver from ftdichip.com} {
+    configure.args-append --enable-usb_blaster_ftd2xx
+	depends_lib-append port:libftd2xx
+}
+
+variant amtjtagaccel description {Enable building the Amontec JTAG-Accelerator driver} {
+    configure.args-append --enable-amtjtagaccel
+}
+
+variant ecosboard description {Enable building support for eCos based JTAG debugger} {
+    configure.args-append --enable-ecosboard
+}
+
+variant zy1000_master requires zy1000 description {Use ZY1000 JTAG master registers} {
+    configure.args-append --enable-zy1000-master
+}
+
+variant zy1000 conflicts minidriver_dummy description {Enable ZY1000 interface. WARNING: Using the minidriver disables all other drivers.} {
+    configure.args-append --enable-zy1000
+}
+
+variant ioutil description {Enable ioutil functions - useful for standalone OpenOCD implementations} {
+    configure.args-append --enable-ioutil
+}
+
+variant ep93xx description {Enable building support for EP93xx based SBCs} {
+    configure.args-append --enable-ep93xx
+}
+
+variant at91rm9200 description {Enable building support for AT91RM9200 based SBCs} {
+    configure.args-append --enable-at91rm9200
+}
+
+variant gw16012 description {Enable building support for the Gateworks GW16012 JTAG Programmer} {
+    configure.args-append --enable-gw16012
+}
+
+variant presto conflicts presto_ftd2xx description {Enable building support for ASIX Presto Programmer using the libftdi driver} {
+    configure.args-append --enable-presto_libftdi
+	depends_lib-append port:libftdi
+}
+
+variant presto_ftd2xx conflicts presto description {Enable building support for ASIX Presto Programmer using the FTD2XX driver} {
+    configure.args-append --enable-presto_ftd2xx
+	depends_lib-append port:libftd2xx
+}
+
+variant usbprog description {Enable building support for the usbprog JTAG Programmer} {
+    configure.args-append --enable-usbprog
+}
+
+variant oocd_trace description {Enable building support for some prototype OpenOCD+trace ETM capture hardware} {
+    configure.args-append --enable-oocd_trace
+}
+
+variant jlink description {Enable building support for the Segger J-Link JTAG Programmer} {
+    configure.args-append --enable-jlink
+}
+
+variant vsllink description {Enable building support for the Versaloon-Link JTAG Programmer} {
+    configure.args-append --enable-vsllink
+}
+
+variant rlink description {Enable building support for the Raisonance RLink JTAG Programmer} {
+    configure.args-append --enable-rlink
+}
+
+variant ulink description {Enable building support for the Keil ULINK JTAG Programmer} {
+    configure.args-append --enable-ulink
+}
+
+variant arm_jtag_ew description {Enable building support for the Olimex ARM-JTAG-EW Programmer} {
+    configure.args-append --enable-arm-jtag-ew
+}
+
+variant buspirate description {Enable building support for the Buspirate} {
+    configure.args-append --enable-buspirate
+}
+
+variant minidriver_dummy conflicts zy1000 description {Enable the dummy minidriver} {
+    configure.args-append --enable-minidriver-dummy
+}
+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120221/da26c835/attachment.html>


More information about the macports-changes mailing list