Skip to contentSkip to conversation

package/libsigrok: add optional hidapi dependency

PATCH New Fabrice Fontaine 2 participants 2 messages Jan 11, 2020 – Jan 12, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/libsigrok: add optional hidapi dependency

hidapi dependency has been added since version 0.5.2 and
https://github.com/sigrokproject/libsigrok/commit/4417074c68ce998c2d666fc8a034204a1b74fc2f

---
 package/libsigrok/libsigrok.mk | 7 +++++++
 1 file changed, 7 insertions(+)
package/libsigrok/libsigrok.mk +7 -0
index 4866ec4d68..8def692e31 100644
@@ -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
Signature · 1 line
2.24.1
#1 lore raw

PATCH 1/1 package/libsigrok: add optional hidapi dependency

Quoted 7 lines · On Sat, 11 Jan 2020 16:07:49 +0100 Fabrice Fontaine…

hidapi dependency has been added since version 0.5.2 and
https://github.com/sigrokproject/libsigrok/commit/4417074c68ce998c2d666fc8a034204a1b74fc2f

---
 package/libsigrok/libsigrok.mk | 7 +++++++
 1 file changed, 7 insertions(+)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com