Config.in 777 B

123456789101112131415161718192021
  1. config 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. http://github.com/libusb/hidapi/
  16. comment "hidapi needs udev /dev management and a toolchain w/ NPTL, gcc >= 4.9"
  17. depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL || \
  18. !BR2_PACKAGE_HAS_UDEV || \
  19. !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9