Closed jotomo closed 4 years ago
Hm, that was too fast. kernelver is provided during dkms build, containing the kernel version the module is build for. However, this change brakes regular invocation of make, where kernelver is not available.
I think the example here can be useful: https://wiki.kubuntu.org/Kernel/Dev/DKMSPackaging
@berarma Thanks for the link. I think I've got it right now. Tested in both scenarios now. @parkerlreed If you got some time at some point to give this a try, I'd appreciate that.
Changed and tested. Thanks for your patience! It's been a while since I properly worked with make and the like.
Changed and tested. Thanks for your patience! It's been a while since I properly worked with make and the like.
No worries at all! I'm going one step at a time because I've never used these tools barehanded before. I'm learning some details along the way. Having someone else watching is a relief.
Thanks! That was a good catch and a much needed fix. Merging...
Don't use version of the currently running kernel, but the version the module is build for (when buildung for multiple installed kernels or during kernel upgrades).
@parkerlreed