This is not only alx-wol.
This is a system for those who need to patch original kernel module sources with dkms.
The mechanism tries to identify the kernel version of the kernel to install and fetches the sources for that kernel version from kernel.org.
Then it applies the configured patches.
The compiler version used for compiling the kernel is also probed.
The installation is searched for available compilers and the best match is taken to compile the module.
This is not only alx-wol. This is a system for those who need to patch original kernel module sources with dkms. The mechanism tries to identify the kernel version of the kernel to install and fetches the sources for that kernel version from kernel.org. Then it applies the configured patches. The compiler version used for compiling the kernel is also probed. The installation is searched for available compilers and the best match is taken to compile the module.