With a weak-assignment of KSRC the module will be enabled to support cross-
building it for different Kernel Versions on a build machine. The change
enabled me to cross-compile this module for the VyOS 4.18.8 Kernel by
simply invoking:
$ KSRC=/home/cpo/vyos-build/packages/vyos-kernel make
With a weak-assignment of KSRC the module will be enabled to support cross-
building it for different Kernel Versions on a build machine. The change
enabled me to cross-compile this module for the VyOS 4.18.8 Kernel by
simply invoking:
$ KSRC=/home/cpo/vyos-build/packages/vyos-kernel make
The value of the KVER-Variable will not be overwritten if already defined (e.g. through the make command). Allows passing trough $kernelver from the dkms.conf file.