![Fabrice Fontaine](/assets/img/avatar_default.png)
libusb depends on gcc >= 4.9 because of _Thread_local since version
1.0.24 and
9a1bc8cafb
Fixes:
- http://autobuild.buildroot.org/results/7b7f4b31095f8a7eecb347b574391003a2def8bc
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
20 lines
448 B
Plaintext
20 lines
448 B
Plaintext
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
|