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