xref: /OK3568_Linux_fs/buildroot/package/usb_modeswitch/Config.in (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1config BR2_PACKAGE_USB_MODESWITCH
2	bool "usb_modeswitch"
3	depends on BR2_TOOLCHAIN_HAS_THREADS # libusb
4	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libusb
5	select BR2_PACKAGE_JIMTCL if !BR2_PACKAGE_TCL || BR2_PACKAGE_TCL_SHLIB_ONLY
6	select BR2_PACKAGE_LIBUSB
7	help
8	  Some USB devices such as 3G/4G broadband modems power-up
9	  in mass storage mode to provide access to drivers
10	  for the device's application mode. usb_modeswitch
11	  changes the mode of such devices from the initial power-up
12	  mode to the application mode.
13	  Specific configuration data for each device model is required.
14
15	  usb_modeswitch can be used with the usb_modeswitch_data
16	  package and eudev/systemd for automatic mode switching
17	  when devices are connected.
18
19	  For more information search the Internet for "Virtual CD-ROM
20	  switching utility".
21
22	  http://www.draisberghof.de/usb_modeswitch/
23
24comment "usb_modeswitch needs a toolchain w/ threads, gcc >= 4.9"
25	depends on !BR2_TOOLCHAIN_HAS_THREADS || \
26		!BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
27