[PATCH v2] build: try to get kernel version from kernel source

Ferruh Yigit ferruh.yigit at intel.com
Tue Mar 8 16:54:53 CET 2022


On 3/3/2022 1:15 PM, Ferdinand Thiessen wrote:
> When building the kernel modules, try to get the kernel
> version from the kernel sources first. This fixes the
> kernel modules installation directory if the target kernel
> version differs from the host kernel version, like for
> CI build or when packaging for linux distributions.
> 
> Signed-off-by: Ferdinand Thiessen <rpm at fthiessen.de>

lgtm

Tested-by: Ferruh Yigit <ferruh.yigit at intel.com>


More information about the dev mailing list