usb_modeswitch_data: requires thread support
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 27 Jul 2013 15:15:53 +0000 (17:15 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 27 Jul 2013 15:15:53 +0000 (17:15 +0200)
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>
package/usb_modeswitch_data/Config.in

index 6df408f02a5c7780eae0506376c6908cdf5197f2..e0e8f4cfda2434052357e6f3c3abb15977a62451 100644 (file)
@@ -1,9 +1,13 @@
 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