2015-11-16 17:54:12 +01:00
|
|
|
config BR2_PACKAGE_HIDAPI
|
|
|
|
bool "hidapi"
|
|
|
|
depends on BR2_PACKAGE_HAS_UDEV
|
2016-08-06 23:01:23 +02:00
|
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL
|
2020-12-13 16:56:36 +01:00
|
|
|
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libusb
|
2015-11-16 17:54:12 +01:00
|
|
|
select BR2_PACKAGE_LIBUSB
|
2015-12-02 12:27:06 +01:00
|
|
|
select BR2_PACKAGE_LIBGUDEV
|
2015-12-30 22:17:00 +01:00
|
|
|
select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
|
2018-06-17 19:51:53 +02:00
|
|
|
# runtime UTF conversion support
|
|
|
|
select BR2_TOOLCHAIN_GLIBC_GCONV_LIBS_COPY if BR2_TOOLCHAIN_USES_GLIBC
|
2015-11-16 17:54:12 +01:00
|
|
|
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.
|
|
|
|
|
2019-09-23 21:00:42 +02:00
|
|
|
http://github.com/libusb/hidapi/
|
2015-11-16 17:54:12 +01:00
|
|
|
|
2020-12-13 16:56:36 +01:00
|
|
|
comment "hidapi needs udev /dev management and a toolchain w/ NPTL, threads, gcc >= 4.9"
|
|
|
|
depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL || \
|
|
|
|
!BR2_PACKAGE_HAS_UDEV || \
|
|
|
|
!BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
|