dkms appears to be working.

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.
This commit is contained in:
Jeff Curless
2026-01-10 18:43:58 -05:00
parent 6c84fd6422
commit ca66fa0ea4
5 changed files with 16 additions and 485 deletions

View File

@@ -1,14 +1,14 @@
obj-m += oneUpPower.o
#all:
# make -C /lib/modules/$(shell uname -r)/build M=$(PWD) modules
#
#clean:
# make -C /lib/modules/$(shell uname -r)/build M=$(PWD) clean
KVERSION := $(shell uname -r)
KDIR := /lib/modules/$(KVERSION)/build
PWD := $(shell pwd)
# Build with:
# make -C /lib/modules/$(shell uname -r)/build M=$(PWD) modules
# Clean:
# make -C /lib/modules/$(shell uname -r)/build M=$(PWD) clean
all:
$(MAKE) -C $(KDIR) M=$(PWD) modules
clean:
$(MAKE) -C $(KDIR) M=$(PWD) clean
.PHONY: all clean