[Buildroot] [PATCH 2/2] package/openocd: add optional dependency on libgpiod
Sébastien Szymanski
sebastien.szymanski at armadeus.com
Fri May 21 08:32:11 UTC 2021
To make the Linux GPIOD bitbang adapter driver through libgpiod
available.
Signed-off-by: Sébastien Szymanski <sebastien.szymanski at armadeus.com>
---
package/openocd/openocd.mk | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/package/openocd/openocd.mk b/package/openocd/openocd.mk
index 1460495a88..b74426ff47 100644
--- a/package/openocd/openocd.mk
+++ b/package/openocd/openocd.mk
@@ -32,7 +32,8 @@ OPENOCD_DEPENDENCIES = \
$(if $(BR2_PACKAGE_LIBUSB),libusb) \
$(if $(BR2_PACKAGE_LIBUSB_COMPAT),libusb-compat) \
$(if $(BR2_PACKAGE_LIBHID),libhid) \
- $(if $(BR2_PACKAGE_HIDAPI),hidapi)
+ $(if $(BR2_PACKAGE_HIDAPI),hidapi) \
+ $(if $(BR2_PACKAGE_LIBGPIOD),libgpiod)
# Adapters
OPENOCD_CONF_OPTS += \
--
2.26.3
More information about the buildroot
mailing list