package/openocd: add optional dependency on libgpiod
authorSébastien Szymanski <sebastien.szymanski@armadeus.com>
Fri, 21 May 2021 08:32:11 +0000 (10:32 +0200)
committerYann E. MORIN <yann.morin.1998@free.fr>
Fri, 21 May 2021 20:52:09 +0000 (22:52 +0200)
To make the Linux GPIOD bitbang adapter driver through libgpiod
available.

Signed-off-by: Sébastien Szymanski <sebastien.szymanski@armadeus.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
package/openocd/openocd.mk

index 1460495a8874b9bcacd8d8264b8621ef23a1c4e5..b74426ff4701398fe64703cf6a9df6e9959292c1 100644 (file)
@@ -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 += \