* [Buildroot] [PATCH 1/1] package/libsigrok: add optional hidapi dependency
@ 2020-01-11 15:07 Fabrice Fontaine
2020-01-12 21:45 ` Thomas Petazzoni
0 siblings, 1 reply; 2+ messages in thread
From: Fabrice Fontaine @ 2020-01-11 15:07 UTC (permalink / raw)
To: buildroot
hidapi dependency has been added since version 0.5.2 and
https://github.com/sigrokproject/libsigrok/commit/4417074c68ce998c2d666fc8a034204a1b74fc2f
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
package/libsigrok/libsigrok.mk | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/package/libsigrok/libsigrok.mk b/package/libsigrok/libsigrok.mk
index 4866ec4d68..8def692e31 100644
--- a/package/libsigrok/libsigrok.mk
+++ b/package/libsigrok/libsigrok.mk
@@ -22,6 +22,13 @@ else
LIBSIGROK_CONF_OPTS += --without-libbluez
endif
+ifeq ($(BR2_PACKAGE_HIDAPI),y)
+LIBSIGROK_CONF_OPTS += --with-libhidapi
+LIBSIGROK_DEPENDENCIES += hidapi
+else
+LIBSIGROK_CONF_OPTS += --without-libhidapi
+endif
+
ifeq ($(BR2_PACKAGE_LIBSERIALPORT),y)
LIBSIGROK_CONF_OPTS += --with-libserialport
LIBSIGROK_DEPENDENCIES += libserialport
--
2.24.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-01-12 21:45 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-01-11 15:07 [Buildroot] [PATCH 1/1] package/libsigrok: add optional hidapi dependency Fabrice Fontaine
2020-01-12 21:45 ` Thomas Petazzoni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox