Use the DKMS BUILD_EXCLUSIVE_KERNEL variable to limit the version this module will work on. This value matches a regular expression as explained in man 8 dkms.
Note that you might want to use a meaningful version for the PACKAGE_VERSION now, for example simply "magictrackpad2" or perhaps something like a semantic version with a date like "0.0.20180726" similar to how WireGuard does it.
Use the DKMS
BUILD_EXCLUSIVE_KERNEL
variable to limit the version this module will work on. This value matches a regular expression as explained inman 8 dkms
.Note that you might want to use a meaningful version for the
PACKAGE_VERSION
now, for example simply "magictrackpad2" or perhaps something like a semantic version with a date like "0.0.20180726" similar to how WireGuard does it.