obj-m += oneUpPower.o # KVERSION is the kernel to build for. DKMS passes the *target* kernel via # the MAKE directive in dkms.conf; default to the running kernel so a plain # `make` still works for a manual build. KVERSION ?= $(shell uname -r) all: make -C /lib/modules/$(KVERSION)/build M=$(PWD)/src modules clean: make -C /lib/modules/$(KVERSION)/build M=$(PWD)/src clean .PHONY: all clean