添加 patches/001-dmx_usb_Makefile.patch

Signed-off-by: zhao <zj18139624826@gmail.com>
This commit is contained in:
zhao 2025-08-05 21:21:10 +08:00
parent ffc7808602
commit 01dd1ea6bf

View File

@ -0,0 +1,12 @@
--- a/Makefile
+++ b/Makefile
@@ -12,8 +12,7 @@ KDIR := /lib/modules/$(shell uname -r)/b
PWD := $(shell pwd)
default:
- $(MAKE) -C $(KDIR) M=$(PWD)
- gcc -O2 -pipe -Wall dmx_usb_test.c -o dmx_usb_test
+ $(MAKE) -C $(KERNELPATH) M=$(PWD)
endif