buildroot/package/libusb/Config.in
Gaël PORTAY b57b7a3571 libusb: add an option to compile examples
Signed-off-by: Gaël PORTAY <gael.portay@savoirfairelinux.com>
[Thomas:
 - use make loop instead of shell loop
 - use $(INSTALL) instead of cp.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2018-06-17 15:07:52 +02:00

18 lines
338 B
Plaintext

config BR2_PACKAGE_LIBUSB
bool "libusb"
depends on BR2_TOOLCHAIN_HAS_THREADS
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"
depends on !BR2_TOOLCHAIN_HAS_THREADS