|
From: openocd-gerrit <ope...@us...> - 2025-09-27 14:55:28
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Main OpenOCD repository".
The branch, master has been updated
via 82d0aac95b7440f62ee29e1888809c52503a3220 (commit)
from 601d478015dcbd96ce9dcde57f8004b9a13fd311 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 82d0aac95b7440f62ee29e1888809c52503a3220
Author: Michael Heimpold <mh...@he...>
Date: Sun Sep 14 11:47:10 2025 +0200
jtag: linuxgpiod: add macro HAVE_LIBGPIOD_V1
To prepare the support for libgpiod v2, add a macro to report the
old version v1 of the library.
Extracted part of 8226: jtag: linuxgpiod:
finalize emulation of libgpiod v2 API for older versions
Link: https://review.openocd.org/c/openocd/+/8226
Change-Id: Ib9c4e495b326770fabadbc752df8aa0a920b1831
Signed-off-by: Michael Heimpold <mh...@he...>
Signed-off-by: Tomas Vanek <va...@fb...>
Signed-off-by: Antonio Borneo <bor...@gm...>
Reviewed-on: https://review.openocd.org/c/openocd/+/9118
Tested-by: jenkins
diff --git a/configure.ac b/configure.ac
index 01077847b..3060940ed 100644
--- a/configure.ac
+++ b/configure.ac
@@ -585,6 +585,7 @@ PKG_CHECK_MODULES([LIBFTDI], [libftdi1], [
PKG_CHECK_MODULES([LIBGPIOD], [libgpiod < 2.0], [
use_libgpiod=yes
+ AC_DEFINE([HAVE_LIBGPIOD_V1], [1], [define if libgpiod is version v1.x])
PKG_CHECK_EXISTS([libgpiod >= 1.5],
[AC_DEFINE([HAVE_LIBGPIOD1_FLAGS_BIAS], [1], [define if libgpiod v1 has line request flags bias])])
], [use_libgpiod=no])
-----------------------------------------------------------------------
Summary of changes:
configure.ac | 1 +
1 file changed, 1 insertion(+)
hooks/post-receive
--
Main OpenOCD repository
|