openwrt-packages/libs/dmx_usb_module/patches/001-dmx_usb_Makefile.patch

13 lines
252 B
Diff

--- 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