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

Bruce Richardson bruce.richardson at intel.com
Thu Mar 3 14:37:19 CET 2022


On Thu, Mar 03, 2022 at 02:12:30PM +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
> CI build or when packaging for linux distributions.
> 
> Signed-off-by: Ferdinand Thiessen <rpm at fthiessen.de>
> ---
>  kernel/linux/meson.build | 14 ++++++++++----
>  1 file changed, 10 insertions(+), 4 deletions(-)
> 
Acked-by: Bruce Richardson <bruce.richardson at intel.com>


More information about the dev mailing list