![Fabrice Fontaine](/assets/img/avatar_default.png)
libusb depends on gcc >= 4.9 because of _Thread_local since version
1.0.24 and
9a1bc8cafb
Fixes:
- http://autobuild.buildroot.org/results/7b7f4b31095f8a7eecb347b574391003a2def8bc
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
27 lines
1,022 B
Plaintext
27 lines
1,022 B
Plaintext
config BR2_PACKAGE_USB_MODESWITCH
|
|
bool "usb_modeswitch"
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS # libusb
|
|
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libusb
|
|
select BR2_PACKAGE_JIMTCL if !BR2_PACKAGE_TCL || BR2_PACKAGE_TCL_SHLIB_ONLY
|
|
select BR2_PACKAGE_LIBUSB
|
|
help
|
|
Some USB devices such as 3G/4G broadband modems power-up
|
|
in mass storage mode to provide access to drivers
|
|
for the device's application mode. usb_modeswitch
|
|
changes the mode of such devices from the initial power-up
|
|
mode to the application mode.
|
|
Specific configuration data for each device model is required.
|
|
|
|
usb_modeswitch can be used with the usb_modeswitch_data
|
|
package and eudev/systemd for automatic mode switching
|
|
when devices are connected.
|
|
|
|
For more information search the Internet for "Virtual CD-ROM
|
|
switching utility".
|
|
|
|
http://www.draisberghof.de/usb_modeswitch/
|
|
|
|
comment "usb_modeswitch needs a toolchain w/ threads, gcc >= 4.9"
|
|
depends on !BR2_TOOLCHAIN_HAS_THREADS || \
|
|
!BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
|