summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2013-07-27 15:15:53 (GMT)
committer Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2013-07-27 15:15:53 (GMT)
commitaf1528af6385e19d0c351172701f3adb017c06f2 (patch)
treee803aae923bf42cf4bf666c1aae2fe399686c18e
parent51788521b7467942a550cb1d077e6550a7472498 (diff)
downloadbuildroot-af1528af6385e19d0c351172701f3adb017c06f2.tar.gz
buildroot-af1528af6385e19d0c351172701f3adb017c06f2.tar.bz2
usb_modeswitch_data: requires thread support
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>
-rw-r--r--package/usb_modeswitch_data/Config.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/usb_modeswitch_data/Config.in b/package/usb_modeswitch_data/Config.in
index 6df408f..e0e8f4c 100644
--- a/package/usb_modeswitch_data/Config.in
+++ b/package/usb_modeswitch_data/Config.in
@@ -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