xref: /OK3568_Linux_fs/buildroot/package/libusb/Config.in (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1config BR2_PACKAGE_LIBUSB
2	bool "libusb"
3	depends on BR2_TOOLCHAIN_HAS_THREADS
4	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # _Thread_local
5	help
6	  Userspace library for accessing USB devices
7
8	  http://libusb.info/
9
10if BR2_PACKAGE_LIBUSB
11
12config BR2_PACKAGE_LIBUSB_EXAMPLES
13	bool "build libusb examples"
14
15endif
16
17comment "libusb needs a toolchain w/ threads, gcc >= 4.9"
18	depends on !BR2_TOOLCHAIN_HAS_THREADS || \
19		!BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
20