Move all to deprecated folder.
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
config BR2_PACKAGE_USB_MODESWITCH
|
||||
bool "usb_modeswitch"
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS # libusb
|
||||
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"
|
||||
depends on !BR2_TOOLCHAIN_HAS_THREADS
|
||||
@@ -0,0 +1,2 @@
|
||||
# Locally calculated
|
||||
sha256 7ee42be2fe26dde20c58f54bf678fb136d2706250e4aa74f06fc97268a46e90f usb-modeswitch-2.2.6.tar.bz2
|
||||
@@ -0,0 +1,35 @@
|
||||
################################################################################
|
||||
#
|
||||
# usb_modeswitch
|
||||
#
|
||||
################################################################################
|
||||
|
||||
USB_MODESWITCH_VERSION = 2.2.6
|
||||
USB_MODESWITCH_SOURCE = usb-modeswitch-$(USB_MODESWITCH_VERSION).tar.bz2
|
||||
USB_MODESWITCH_SITE = http://www.draisberghof.de/usb_modeswitch
|
||||
USB_MODESWITCH_DEPENDENCIES = libusb
|
||||
USB_MODESWITCH_LICENSE = GPLv2+
|
||||
USB_MODESWITCH_LICENSE_FILES = COPYING
|
||||
|
||||
USB_MODESWITCH_BUILD_TARGETS = static
|
||||
USB_MODESWITCH_INSTALL_TARGETS = install-static
|
||||
|
||||
ifeq ($(BR2_PACKAGE_TCL)$(BR2_PACKAGE_TCL_SHLIB_ONLY),y)
|
||||
USB_MODESWITCH_DEPENDENCIES += tcl
|
||||
USB_MODESWITCH_BUILD_TARGETS = script
|
||||
USB_MODESWITCH_INSTALL_TARGETS = install-script
|
||||
endif
|
||||
|
||||
define USB_MODESWITCH_BUILD_CMDS
|
||||
$(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) \
|
||||
CFLAGS="$(TARGET_CFLAGS) -D_GNU_SOURCE -Wall -I." \
|
||||
-C $(@D) $(USB_MODESWITCH_BUILD_TARGETS)
|
||||
endef
|
||||
|
||||
define USB_MODESWITCH_INSTALL_TARGET_CMDS
|
||||
$(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) \
|
||||
DESTDIR=$(TARGET_DIR) \
|
||||
-C $(@D) $(USB_MODESWITCH_INSTALL_TARGETS)
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
Reference in New Issue
Block a user