xref: /OK3568_Linux_fs/buildroot/package/hidapi/Config.in (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1config BR2_PACKAGE_HIDAPI
2	bool "hidapi"
3	depends on BR2_PACKAGE_HAS_UDEV
4	depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL
5	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libusb
6	select BR2_PACKAGE_LIBUSB
7	select BR2_PACKAGE_LIBGUDEV
8	select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
9	# runtime UTF conversion support
10	select BR2_TOOLCHAIN_GLIBC_GCONV_LIBS_COPY if BR2_TOOLCHAIN_USES_GLIBC
11	help
12	  HIDAPI is a multi-platform library which allows an application
13	  to interface with USB and Bluetooth HID-Class devices on
14	  Windows, Linux, and Mac OS X.
15
16	  http://github.com/libusb/hidapi/
17
18comment "hidapi needs udev /dev management and a toolchain w/ NPTL, threads, gcc >= 4.9"
19	depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL || \
20		!BR2_PACKAGE_HAS_UDEV || \
21		!BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
22