summarylogtreecommitdiffstats
path: root/0001-Makefile.patch
diff options
context:
space:
mode:
Diffstat (limited to '0001-Makefile.patch')
-rw-r--r--0001-Makefile.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/0001-Makefile.patch b/0001-Makefile.patch
new file mode 100644
index 000000000000..f6c110091f1e
--- /dev/null
+++ b/0001-Makefile.patch
@@ -0,0 +1,13 @@
+diff --git a/Makefile.linux b/Makefile.linux
+index 5010833..c7d0503 100644
+--- a/Makefile.linux
++++ b/Makefile.linux
+@@ -680,7 +680,7 @@ install : $(APPS) direwolf.conf tocalls.txt symbols-new.txt symbolsX.txt dw-icon
+ # Set group and mode of HID devices corresponding to C-Media USB Audio adapters.
+ # This will allow us to use the CM108/CM119 GPIO pins for PTT.
+ #
+- $(INSTALL) -D --mode=644 99-direwolf-cmedia.rules /etc/udev/rules.d/99-direwolf-cmedia.rules
++ $(INSTALL) -D --mode=644 99-direwolf-cmedia.rules $(ROOTDIR)/etc/udev/rules.d/99-direwolf-cmedia.rules
+ #
+ @echo " "
+ @echo "If this is your first install, not an upgrade, type this to put a copy"