Skip to contentSkip to conversation

package/openocd: bump to version 88b9bd396d5a1f83c49fa1b28745fd7feaca2b2e

PATCH New Dario Binacchi 1 participant 1 message Oct 24, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/openocd: bump to version 88b9bd396d5a1f83c49fa1b28745fd7feaca2b2e

The error reported by autobuild could have been fixed by backporting commit [1], but this would not have fully fixed the issue. Other build errors related to libgiod appeared, which would have required a large backporting effort. This made it more reasonable to bump the package to the most recent commit, since no new version had been released despite many commits since January 2023.

Update LICENSES/license-rules.txt hash due to:
- Add dual/CC-BY-4.0
- Drop SPDX tag 'GPL-2.0' and use 'GPL-2.0-only'

Update LICENSES/preferred/GFDL-1.2.txt hash due to:
- Replace the obsolete address of the FSF in the GFDL-1.2

Fixes:
https://autobuild.buildroot.org/results/4f79a456d6e88e33be2a279e5288debd1f27c183

[1] https://sourceforge.net/p/openocd/code/ci/95603fae18f81eebdafc5b318e70f9e2cdefab9e

---
 ...01-configure-enable-build-on-uclinux.patch | 19 ++++++++++---------
 package/openocd/openocd.hash                  |  8 ++++----
 package/openocd/openocd.mk                    | 12 ++++++++----
 3 files changed, 22 insertions(+), 17 deletions(-)
package/openocd/0001-configure-enable-build-on-uclinux.patch +10 -9
index d5f1e3295823..a80a910abc0f 100644
@@ -4,25 +4,26 @@ Date: Thu, 17 Aug 2017 06:30:31 +0200
 Subject: [PATCH] configure: enable build on uclinux
 
 Signed-off-by: Bernd Kuhls <[email protected]>
-[Dario: make the patch to be applied with fuzz factor 0]
+[Dario: make the patch to be applied to
+ openocd-88b9bd396d5a1f83c49fa1b28745fd7feaca2b2e]
 Signed-off-by: Dario Binacchi <[email protected]>
 ---
  configure.ac | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
 
 diff --git a/configure.ac b/configure.ac
-index eee42d4240f8..b0445f92e0b5 100644
+index 6efcf24f257b..7cc2d9a136ee 100644
 --- a/configure.ac
 +++ b/configure.ac
-@@ -342,7 +342,7 @@ AC_ARG_ENABLE([xlnx_pcie_xvc],
-   [build_xlnx_pcie_xvc=$enableval], [build_xlnx_pcie_xvc=no])
+@@ -367,7 +367,7 @@ AC_ARG_ENABLE([gw16012],
+ can_build_rshim=no
  
  AS_CASE([$host_os],
--  [linux*], [],
-+  [linux*|uclinux*], [],
-   [
-     AS_IF([test "x$build_sysfsgpio" = "xyes"], [
-       AC_MSG_ERROR([sysfsgpio is only available on linux])
+-  [linux*], [
++  [linux*|uclinux*], [
+     is_linux=yes
+     can_build_rshim=yes
+   ],
 -- 
 2.43.0
 
package/openocd/openocd.hash +4 -4
index 938711d86c0f..52e9acfb882d 100644
@@ -1,15 +1,15 @@
 # From http://sourceforge.net/projects/openocd/files/openocd/0.12.0/
-sha256  af254788be98861f2bd9103fe6e60a774ec96a8c374744eef9197f6043075afa  openocd-0.12.0.tar.bz2
+sha256  a3aab64cc28ae7ac38b2794173f59f96ad4dc261e00aba362ad6ebbd741dd139  openocd-88b9bd396d5a1f83c49fa1b28745fd7feaca2b2e-git4.tar.gz
 sha256  1b8f7e37ee5afbbf95c2a4d62b12b25232e29538692663b434318503a9a88419  COPYING
 sha256  034da732b4f3079b8783fff756613c1cff89dec5ac80c5cdd90532b7539922a1  LICENSES/exceptions/eCos-exception-2.0
-sha256  0a37155eb8bc0cb94477a0cae4f030e39da9317374e8a9f597e9229fd09aff78  LICENSES/license-rules.txt
+sha256  405b1becc5e999efe12116634c308287774a5401efdaca06a8370926e3686cc1  LICENSES/license-rules.txt
 sha256  f3ba76203a7b6993db31f987559cc4c621ae1ff78119ced2a669756c2c5fd3b1  LICENSES/preferred/BSD-1-Clause
 sha256  6313108c23efffa36948f8b2cff1560a5935373b527b0e1a837cc77e6ed1bacd  LICENSES/preferred/BSD-2-Clause
 sha256  1483f15e9fddc73b5df0acab1c42d21ecd0bf6ade8a79179fb90c09f13d03dcd  LICENSES/preferred/BSD-2-Clause-Views
 sha256  7a83b1aeb460458db9a4bd521d7f237c45b1650f6e60ea5ffc71e49472454de3  LICENSES/preferred/BSD-3-Clause
 sha256  5cf024f6e3611d5c6fb98748d1a0ad99b8cf9ffe46f2d60fa10c299cd29e0a75  LICENSES/preferred/BSD-Source-Code
-sha256  f35396f4095619f986736ca5e2976b313d381463a35c921c9ae677cc7eb83e28  LICENSES/preferred/GFDL-1.2
+sha256  b984d86747c3ea68cca62477716de626a5d6e96f00f64fe13649e28fde81b47e  LICENSES/preferred/GFDL-1.2
 sha256  76515be2d7334a1a038f775238c9a4c2b37e19514248e5eea0434cdfee526f9d  LICENSES/preferred/gfdl-1.2.texi.readme
-sha256  7d35bc44da7bb763022e3c2c32cfc0125dd222060bc50992420599d8e65f6c0a  LICENSES/preferred/GPL-2.0
+sha256  8b57184d532ff63b57776f33b6f3b50020295da3c7ba3a63fb2f26e4968cde3a  LICENSES/preferred/GPL-2.0
 sha256  323c587d0ccf10e376f8bf9a7f31fb4ca6078105194b42e0b1e0ee2bc9bde71f  LICENSES/preferred/MIT
 sha256  9a41b56594cd89743ca72f188318c9871661847074dd16497ae0c695fe3ab9c9  LICENSES/stand-alone/GPL-3.0
package/openocd/openocd.mk +8 -4
index a563cc6a9e31..b9b7719fc840 100644
@@ -4,9 +4,11 @@
 #
 ################################################################################
 
-OPENOCD_VERSION = 0.12.0
-OPENOCD_SOURCE = openocd-$(OPENOCD_VERSION).tar.bz2
-OPENOCD_SITE = http://sourceforge.net/projects/openocd/files/openocd/$(OPENOCD_VERSION)
+OPENOCD_VERSION = 88b9bd396d5a1f83c49fa1b28745fd7feaca2b2e
+OPENOCD_SITE = https://git.code.sf.net/p/openocd/code
+OPENOCD_SITE_METHOD = git
+OPENOCD_GIT_SUBMODULES = YES
+
 OPENOCD_LICENSE = \
 	BSD-1-clause, \
 	BSD-2-clause, \
@@ -45,6 +47,7 @@ OPENOCD_CONF_OPTS = \
 	--includedir=$(STAGING_DIR)/usr/include \
 	--disable-doxygen-html \
 	--disable-internal-jimtcl \
+	--enable-internal-libjaylink \
 	--disable-shared \
 	--enable-dummy \
 	--disable-werror
@@ -133,7 +136,8 @@ HOST_OPENOCD_CONF_OPTS = \
 	--disable-internal-jimtcl \
 	--disable-shared \
 	--enable-dummy \
-	--disable-werror
+	--disable-werror \
+	--enable-internal-libjaylink
 
 HOST_OPENOCD_DEPENDENCIES = host-jimtcl host-libftdi host-libusb host-libusb-compat
 
Signature · 6 lines
2.43.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot