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

@@ -2,7 +2,8 @@
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
make -C /lib/modules/$(shell uname -r)/build M=$(PWD)/src modules
clean:
make -C /lib/modules/$(shell uname -r)/build M=$(PWD)/src clean
.PHONY: all clean

View File

@@ -1,7 +1,7 @@
PACKAGE_NAME="oneUpPower"
PACKAGE_VERSION="1.0"
MAKE="make -C /lib/modules/$(uname -r)/build M=$PWD/src modules"
CLEAN="make -C /lib/modules/$(uname -r)/build M=$PWD/src clean"
MAKE="make -f ./src/Makefile"
CLEAN="make -f ./src/Makefile clean"
BUILT_MODULE_NAME="oneUpPower"
BUILT_MODULE_LOCATION="./src/"
DEST_MODULE_LOCATION="/kernel/drivers/power/supply/"