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_STATIC bool "Enable static" select BR2_PACKAGE_EUDEV_STATIC if BR2_PACKAGE_EUDEV default y if BR2_STATIC_LIBS 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