89492fe1a8
The Config.in comment was mentioning both "NPTL" and "threads" as
dependencies, while mentioning only the former is sufficient.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit dabd983c0d
)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
22 lines
777 B
Plaintext
22 lines
777 B
Plaintext
config BR2_PACKAGE_HIDAPI
|
|
bool "hidapi"
|
|
depends on BR2_PACKAGE_HAS_UDEV
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL
|
|
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libusb
|
|
select BR2_PACKAGE_LIBUSB
|
|
select BR2_PACKAGE_LIBGUDEV
|
|
select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
|
|
# runtime UTF conversion support
|
|
select BR2_TOOLCHAIN_GLIBC_GCONV_LIBS_COPY if BR2_TOOLCHAIN_USES_GLIBC
|
|
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://github.com/libusb/hidapi/
|
|
|
|
comment "hidapi needs udev /dev management and a toolchain w/ NPTL, gcc >= 4.9"
|
|
depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL || \
|
|
!BR2_PACKAGE_HAS_UDEV || \
|
|
!BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
|