kumquat-buildroot/package/hidapi/Config.in
Romain Naour 023bba7797 package/hidapi: depends on NPTL threads
hidapi use NPTL threads functions like pthread_barrier_wait() and
pthread_barrier_destroy(). So the dependency on threads support
doesn't come from libusb package but by hidapi itself.

Fixes:
[microblaze]
http://autobuild.buildroot.net/results/f7e/f7e778562aa1a65ba46f3b2f705d13ace8870805
[m68k]
http://autobuild.buildroot.net/results/2ec/2ecd240ccb15de76017942a8960faac6b3f973b4

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-08-06 23:59:38 +02:00

17 lines
574 B
Plaintext

config BR2_PACKAGE_HIDAPI
bool "hidapi"
depends on BR2_PACKAGE_HAS_UDEV
depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL
select BR2_PACKAGE_LIBUSB
select BR2_PACKAGE_LIBGUDEV
select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
help
HIDAPI is a multi-platform library which allows an application
to interface with USB and Bluetooth HID-Class devices on
Windows, Linux, and Mac OS X.
http://www.signal11.us/oss/hidapi/
comment "hidapi needs udev /dev management and a toolchain w/ NPTL threads"
depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL || !BR2_PACKAGE_HAS_UDEV