summaryrefslogtreecommitdiffstats
path: root/package/usb_modeswitch_data/usb_modeswitch_data.mk
diff options
context:
space:
mode:
authorJ.C. Woltz <jwoltz@gmail.com>2012-03-17 21:30:35 -0400
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2012-08-12 19:23:37 +0200
commit572ba0692c7a41b4e4b86009b9964e5045939fef (patch)
treedec76fad559619af0983c6d69d0f05890775270d /package/usb_modeswitch_data/usb_modeswitch_data.mk
parent1fc66acff88caf18e0649e5482a5a55eae633eee (diff)
downloadbuildroot-novena-572ba0692c7a41b4e4b86009b9964e5045939fef.tar.gz
buildroot-novena-572ba0692c7a41b4e4b86009b9964e5045939fef.zip
new package: usb_modeswitch_data
usb_modeswitch_data provides udev rules for usb VID/PID combinations to switch usb deices from their default mode into a more useable mode. The default mode usually is a cdrom with installation software that is of little use in an embedded linux situation Signed-off-by: J.C. Woltz <jwoltz@gmail.com> Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/usb_modeswitch_data/usb_modeswitch_data.mk')
-rw-r--r--package/usb_modeswitch_data/usb_modeswitch_data.mk24
1 files changed, 24 insertions, 0 deletions
diff --git a/package/usb_modeswitch_data/usb_modeswitch_data.mk b/package/usb_modeswitch_data/usb_modeswitch_data.mk
new file mode 100644
index 000000000..d493144ae
--- /dev/null
+++ b/package/usb_modeswitch_data/usb_modeswitch_data.mk
@@ -0,0 +1,24 @@
+#############################################################
+#
+# usb_modeswitch_data
+#
+#############################################################
+
+USB_MODESWITCH_DATA_VERSION = 20120812
+USB_MODESWITCH_DATA_SOURCE = usb-modeswitch-data-$(USB_MODESWITCH_DATA_VERSION).tar.bz2
+USB_MODESWITCH_DATA_SITE = http://www.draisberghof.de/usb_modeswitch
+USB_MODESWITCH_DATA_DEPENDENCIES = usb_modeswitch
+USB_MODESWITCH_DATA_LICENSE = GPLv2+
+USB_MODESWITCH_DATA_LICENSE_FILES = COPYING
+
+# Nothing to build, it is a pure data package
+
+define USB_MODESWITCH_DATA_INSTALL_TARGET_CMDS
+ $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR=$(TARGET_DIR) install
+endef
+
+define USB_MODESWITCH_DATA_CLEAN_CMDS
+ $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR=$(TARGET_DIR) clean
+endef
+
+$(eval $(generic-package))