summaryrefslogtreecommitdiffstats
path: root/package/usb_modeswitch/usb_modeswitch-makefile.patch
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavo@zacarias.com.ar>2010-04-22 15:58:16 -0300
committerPeter Korsgaard <jacmet@sunsite.dk>2010-05-04 21:47:17 +0200
commit63b866640957c0e42467914effa7cdc2451e7900 (patch)
treee4c2208bbba5393d1f216071dac02c0658c955ea /package/usb_modeswitch/usb_modeswitch-makefile.patch
parent23ff3c278602bc4531bf8d5de179af188837907e (diff)
downloadbuildroot-novena-63b866640957c0e42467914effa7cdc2451e7900.tar.gz
buildroot-novena-63b866640957c0e42467914effa7cdc2451e7900.zip
usb_modeswitch: Bump to version 1.1.2
And correct kconfig dependency. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/usb_modeswitch/usb_modeswitch-makefile.patch')
-rw-r--r--package/usb_modeswitch/usb_modeswitch-makefile.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/package/usb_modeswitch/usb_modeswitch-makefile.patch b/package/usb_modeswitch/usb_modeswitch-makefile.patch
new file mode 100644
index 000000000..918200b61
--- /dev/null
+++ b/package/usb_modeswitch/usb_modeswitch-makefile.patch
@@ -0,0 +1,23 @@
+diff -Nura usb-modeswitch-1.1.2.orig/Makefile usb-modeswitch-1.1.2/Makefile
+--- usb-modeswitch-1.1.2.orig/Makefile 2010-04-17 15:27:11.000000000 -0300
++++ usb-modeswitch-1.1.2/Makefile 2010-04-22 15:05:32.363471807 -0300
+@@ -1,6 +1,6 @@
+ PROG = usb_modeswitch
+ VERS = 1.1.2
+-CC = gcc
++CC ?= gcc
+ CFLAGS += -Wall -l usb
+ RM = /bin/rm -f
+ OBJS = usb_modeswitch.c
+@@ -23,8 +23,9 @@
+ install: all
+ install -d $(SBINDIR)
+ install --mode=755 usb_modeswitch $(SBINDIR)/usb_modeswitch
+- install --mode=755 usb_modeswitch.tcl $(UDEVDIR)/usb_modeswitch
+- install --mode=644 usb_modeswitch.conf $(ETCDIR)/usb_modeswitch.conf
++ #install --mode=755 usb_modeswitch.tcl $(UDEVDIR)/usb_modeswitch
++ #install --mode=644 usb_modeswitch.conf $(ETCDIR)/usb_modeswitch.conf
++ install -d $(MANDIR)
+ install --mode=644 usb_modeswitch.1 $(MANDIR)/usb_modeswitch.1
+
+