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

2022-02-28 Thread Bruce Richardson
On Sat, Feb 26, 2022 at 10:40:45PM +0100, 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

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

2022-02-26 Thread Ferdinand Thiessen
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: Ferdina