添加 patches/001-dmx_usb_Makefile.patch
Signed-off-by: zhao <zj18139624826@gmail.com>
This commit is contained in:
parent
ffc7808602
commit
01dd1ea6bf
12
patches/001-dmx_usb_Makefile.patch
Normal file
12
patches/001-dmx_usb_Makefile.patch
Normal 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
|
||||
|
Loading…
x
Reference in New Issue
Block a user