Modified the Makefile and dkms.conf file and things seem to be happier. Now its just a matter of testing on multiple platforms with releases.
15 lines
218 B
Makefile
15 lines
218 B
Makefile
|
|
obj-m += oneUpPower.o
|
|
|
|
KVERSION := $(shell uname -r)
|
|
KDIR := /lib/modules/$(KVERSION)/build
|
|
PWD := $(shell pwd)
|
|
|
|
all:
|
|
$(MAKE) -C $(KDIR) M=$(PWD) modules
|
|
|
|
clean:
|
|
$(MAKE) -C $(KDIR) M=$(PWD) clean
|
|
|
|
.PHONY: all clean
|