dmx_usb_module: update to 19.12.1

Cleaned up Makefile for consistency between packages.

Remove outdated patch.

Refreshed other one.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
Rosen Penev
2020-11-24 21:40:51 -08:00
parent 1d3c84d4e6
commit d97056efe5
3 changed files with 10 additions and 23 deletions
@@ -1,13 +1,12 @@
--- a/Makefile
+++ b/Makefile
@@ -12,8 +12,7 @@ KDIR := /lib/modules/$(shell uname -r)/build
@@ -12,8 +12,7 @@ KDIR := /lib/modules/$(shell uname -r)/b
PWD := $(shell pwd)
default:
- $(MAKE) -C $(KDIR) SUBDIRS=$(PWD) modules
- $(MAKE) -C $(KDIR) M=$(PWD)
- gcc -O2 -pipe -Wall dmx_usb_test.c -o dmx_usb_test
+ $(MAKE) -C $(KERNELPATH) SUBDIRS=$(PWD) modules
+ $(MAKE) -C $(KERNELPATH) M=$(PWD)
endif