aboutsummaryrefslogtreecommitdiffstats
path: root/main/usb-modeswitch/Makefile.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/usb-modeswitch/Makefile.patch')
-rw-r--r--main/usb-modeswitch/Makefile.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/main/usb-modeswitch/Makefile.patch b/main/usb-modeswitch/Makefile.patch
new file mode 100644
index 0000000000..d7f526aa1e
--- /dev/null
+++ b/main/usb-modeswitch/Makefile.patch
@@ -0,0 +1,16 @@
+--- a/Makefile
++++ b/Makefile
+@@ -21,11 +21,11 @@
+ install -D -m644 40-usb_modeswitch.rules $(RULESDIR)/40-usb_modeswitch.rules
+
+ db-install:
+- install -m644 -t $(PREFIX)/share/usb_modeswitch ./usb_modeswitch.d/*
++ cp ./usb_modeswitch.d/* $(PREFIX)/share/usb_modeswitch
+
+ db-install-packed:
+ cd ./usb_modeswitch.d; tar -czf ../configPack.tar.gz *
+- install -m644 -t $(PREFIX)/share/usb_modeswitch ./configPack.tar.gz
++ install -m644 $(PREFIX)/share/usb_modeswitch ./configPack.tar.gz
+ rm -f ./configPack.tar.gz
+
+