When I upgrade kernel with `apt` command, this module built with wrong kernel header path.
If I use `4.10.0-20-generic` kernel version and I update `4.10.0-27-generic`, dkms still use head path of `4.10.0-20-generic` for building.
I suggest to fix this way.
dkms.conf MAKE="'make' all" => MAKE="'make' all KVER=$kernelver"
Makefile KVER := $(shell uname -r) => KVER ?= $(shell uname -r)
When I upgrade kernel with `apt` command,
this module built with wrong kernel header path.
If I use `4.10.0-20-generic` kernel version and I update `4.10.0- 27-generic` ,
dkms still use head path of `4.10.0-20-generic` for building.
I suggest to fix this way.
dkms.conf
MAKE="'make' all"
=>
MAKE="'make' all KVER=$kernelver"
Makefile
KVER := $(shell uname -r)
=>
KVER ?= $(shell uname -r)