From 01dd1ea6bfbfaa0531d0e95ae1490c27cf85ce24 Mon Sep 17 00:00:00 2001 From: zhao Date: Tue, 5 Aug 2025 21:21:10 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=20patches/001-dmx=5Fusb=5FMa?= =?UTF-8?q?kefile.patch?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: zhao --- patches/001-dmx_usb_Makefile.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 patches/001-dmx_usb_Makefile.patch diff --git a/patches/001-dmx_usb_Makefile.patch b/patches/001-dmx_usb_Makefile.patch new file mode 100644 index 0000000..473e961 --- /dev/null +++ b/patches/001-dmx_usb_Makefile.patch @@ -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 +