blob: 5a04ac128b445cee165cda22956dd308cff26553 [file] [log] [blame]
config BR2_PACKAGE_LIBUSB
bool "libusb"
depends on BR2_TOOLCHAIN_HAS_THREADS
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # _Thread_local
help
Userspace library for accessing USB devices
http://libusb.info/
if BR2_PACKAGE_LIBUSB
config BR2_PACKAGE_LIBUSB_EXAMPLES
bool "build libusb examples"
endif
comment "libusb needs a toolchain w/ threads, gcc >= 4.9"
depends on !BR2_TOOLCHAIN_HAS_THREADS || \
!BR2_TOOLCHAIN_GCC_AT_LEAST_4_9