Преглед изворни кода

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>
Thomas Petazzoni пре 12 година
родитељ
комит
af1528af63
1 измењених фајлова са 4 додато и 0 уклоњено
  1. 4 0
      package/usb_modeswitch_data/Config.in

+ 4 - 0
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