diff options
author | J.C. Woltz <jwoltz@gmail.com> | 2012-03-17 21:30:35 -0400 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2012-08-12 19:23:37 +0200 |
commit | 572ba0692c7a41b4e4b86009b9964e5045939fef (patch) | |
tree | dec76fad559619af0983c6d69d0f05890775270d /package/usb_modeswitch_data/usb_modeswitch_data-makefile.patch | |
parent | 1fc66acff88caf18e0649e5482a5a55eae633eee (diff) | |
download | buildroot-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-makefile.patch')
-rw-r--r-- | package/usb_modeswitch_data/usb_modeswitch_data-makefile.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/package/usb_modeswitch_data/usb_modeswitch_data-makefile.patch b/package/usb_modeswitch_data/usb_modeswitch_data-makefile.patch new file mode 100644 index 000000000..769e51453 --- /dev/null +++ b/package/usb_modeswitch_data/usb_modeswitch_data-makefile.patch @@ -0,0 +1,27 @@ +Fixed Makefile install sections to not reload udev rules. In a +cross-compiler environment, it is not wanted to reload the host udev rules. + +Signed-off-by: J.C. Woltz <jwoltz@gmail.com> +--- usb_modeswitch_data-20120120.orig/Makefile 2012-01-20 17:25:32.000000000 -0500 ++++ usb_modeswitch_data-20120120/Makefile 2012-02-06 14:20:47.000000000 -0500 +@@ -12,9 +12,9 @@ + + clean: + +-install: files-install db-install rules-reload ++install: files-install db-install + +-install-packed: files-install db-install-packed rules-reload ++install-packed: files-install db-install-packed + + files-install: + install -d $(PREFIX)/share/usb_modeswitch +@@ -50,7 +50,7 @@ + fi \ + fi + +-uninstall: files-uninstall rules-reload ++uninstall: files-uninstall + + files-uninstall: + $(RM) $(RULESDIR)/40-usb_modeswitch.rules |