usb_modeswitch_data unconditionally selects usb_modeswitch, but
usb_modeswitch depends on thread support. This commit has the thread
support dependency to usb_modeswitch_data.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
config BR2_PACKAGE_USB_MODESWITCH_DATA
bool "usb_modeswitch_data"
select BR2_PACKAGE_USB_MODESWITCH
+ depends on BR2_TOOLCHAIN_HAS_THREADS # usb_modeswitch -> libusb
help
USB mode switch data
Contains udev rules and events to allow usb_modeswitch to
function automatically
http://www.draisberghof.de/usb_modeswitch/
+
+comment "usb_modeswitch_data needs a toolchain with thread support"
+ depends on !BR2_TOOLCHAIN_HAS_THREADS