openocd: bump to 0.10.0
authorChristophe PRIOUZEAU <christophe.priouzeau@st.com>
Fri, 28 Apr 2017 14:34:34 +0000 (14:34 +0000)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 29 Apr 2017 12:59:00 +0000 (14:59 +0200)
Some configure options have been renamed. Support for the deprecated
FT2232 devices has been removed in this release, so remove this option.

Signed-off-by: Christophe Priouzeau <christophe.priouzeau@st.com>
[Thomas:
 - Add Config.in.legacy handling, suggested by Arnout.
 - Improve commit log with more details, suggested by Arnout.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Config.in.legacy
package/openocd/Config.in
package/openocd/openocd.hash
package/openocd/openocd.mk

index 04f8eab18cd7a6ad8da8f2703e7181c1ecb33d08..98b9eeb84fc2c38d35441130b17aa4856e1305e3 100644 (file)
@@ -145,6 +145,14 @@ endif
 ###############################################################################
 comment "Legacy options removed in 2017.05"
 
+config BR2_PACKAGE_OPENOCD_FT2XXX
+       bool "openocd ft2232 support has been removed"
+       select BR2_PACKAGE_OPENOCD_FTDI
+       select BR2_LEGACY
+       help
+         FT2232 support in OpenOCD has been removed, it's replaced by
+         FDTI support, which has automatically been enabled.
+
 config BR2_PACKAGE_KODI_RTMPDUMP
        bool "kodi rtmp has been removed"
        select BR2_LEGACY
index 231367154e87d305da43223f9340efb84efae879..41c2fc56880ae96ae1f7664e2c06aabb85027cf1 100644 (file)
@@ -123,14 +123,6 @@ config BR2_PACKAGE_OPENOCD_PARPORT
        help
          Enable building the pc parallel port driver
 
-config BR2_PACKAGE_OPENOCD_FT2XXX
-       bool "FT2232 based devices (DEPRECATED)"
-       select BR2_PACKAGE_LIBFTDI1
-       depends on BR2_TOOLCHAIN_HAS_THREADS # libftdi -> libusb
-       help
-         (DEPRECATED) Enable building support for FT2232
-         based devices using the libftdi library
-
 config BR2_PACKAGE_OPENOCD_VPI
        bool "JTAG VPI"
        help
index 4ca11e206e779da2bb700cfb8de099256f878870..b36c8166827c48da25069aa29bb3a46dae9891fa 100644 (file)
@@ -1,3 +1,3 @@
-# From http://sourceforge.net/projects/openocd/files/openocd/0.9.0/
-sha1 bcf99bb21f09513065b2c9ece148ace7d16cdd0c openocd-0.9.0.tar.bz2
-md5 665cc98ae9e7297e09ec6ac7235fee49 openocd-0.9.0.tar.bz2
+# From http://sourceforge.net/projects/openocd/files/openocd/0.10.0/
+sha1 3245d43d60a1a93f8b0f6b1ce20b53e38cab7a4a  openocd-0.10.0.tar.bz2
+md5 b412bdef0481a3859c6585eb69f6f6ba  openocd-0.10.0.tar.bz2
index 911d31168d9081c1ad6c1d3fa9100c1939af1d1a..63201ee8c778d4e663afd1d18e0bc2cec1207e36 100644 (file)
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-OPENOCD_VERSION = 0.9.0
+OPENOCD_VERSION = 0.10.0
 OPENOCD_SOURCE = openocd-$(OPENOCD_VERSION).tar.bz2
 OPENOCD_SITE = http://sourceforge.net/projects/openocd/files/openocd/$(OPENOCD_VERSION)
 
@@ -45,9 +45,8 @@ OPENOCD_CONF_OPTS += \
        $(if $(BR2_PACKAGE_OPENOCD_ARMEW),--enable-armjtagew,--disable-armjtagew) \
        $(if $(BR2_PACKAGE_OPENOCD_CMSIS_DAP),--enable-cmsis-dap,--disable-cmsis-dap) \
        $(if $(BR2_PACKAGE_OPENOCD_PARPORT),--enable-parport,--disable-parport) \
-       $(if $(BR2_PACKAGE_OPENOCD_FT2XXX),--enable-legacy-ft2232_libftdi,--disable-legacy-ft2232_libftdi) \
        $(if $(BR2_PACKAGE_OPENOCD_VPI),--enable-jtag_vpi,--disable-jtag_vpi) \
-       $(if $(BR2_PACKAGE_OPENOCD_UBLASTER),--enable-usb_blaster_libftdi,--disable-usb_blaster_libftdi) \
+       $(if $(BR2_PACKAGE_OPENOCD_UBLASTER),--enable-usb-blaster,--disable-usb-blaster) \
        $(if $(BR2_PACKAGE_OPENOCD_AMTJT),--enable-amtjtagaccel,--disable-amjtagaccel) \
        $(if $(BR2_PACKAGE_OPENOCD_ZY1000_MASTER),--enable-zy1000-master,--disable-zy1000-master) \
        $(if $(BR2_PACKAGE_OPENOCD_ZY1000),--enable-zy1000,--disable-zy1000) \
@@ -55,8 +54,8 @@ OPENOCD_CONF_OPTS += \
        $(if $(BR2_PACKAGE_OPENOCD_AT91RM),--enable-at91rm9200,--disable-at91rm9200) \
        $(if $(BR2_PACKAGE_OPENOCD_BCM2835),--enable-bcm2835gpio,--disable-bcm2835gpio) \
        $(if $(BR2_PACKAGE_OPENOCD_GW16012),--enable-gw16012,--disable-gw16012) \
-       $(if $(BR2_PACKAGE_OPENOCD_PRESTO),--enable-presto_libftdi,--disable-presto_libftdi) \
-       $(if $(BR2_PACKAGE_OPENOCD_OPENJTAG),--enable-openjtag_ftdi,--disable-openjtag_ftdi) \
+       $(if $(BR2_PACKAGE_OPENOCD_PRESTO),--enable-presto,--disable-presto) \
+       $(if $(BR2_PACKAGE_OPENOCD_OPENJTAG),--enable-openjtag,--disable-openjtag) \
        $(if $(BR2_PACKAGE_OPENOCD_BUSPIRATE),--enable-buspirate,--disable-buspirate) \
        $(if $(BR2_PACKAGE_OPENOCD_SYSFS),--enable-sysfsgpio,--disable-sysfsgpio)
 
@@ -82,11 +81,11 @@ HOST_OPENOCD_CONF_OPTS = \
        --enable-armjtagew \
        --enable-parport \
        --enable-jtag_vpi \
-       --enable-usb_blaster_libftdi \
+       --enable-usb-blaster \
        --enable-amtjtagaccel \
        --enable-gw16012 \
-       --enable-presto_libftdi \
-       --enable-openjtag_ftdi \
+       --enable-presto \
+       --enable-openjtag \
        --enable-buspirate \
        --enable-sysfsgpio \
        --oldincludedir=$(HOST_DIR)/usr/include \