mwyborski / Linux-Magic-Trackpad-2-Driver

499 stars 84 forks source link

dkms.conf: Limit kernel version exclusively #17

Closed alanorth closed 6 years ago

alanorth commented 6 years ago

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.