From 35fd5b5efc8d720ce64d6c880650f049c6303765 Mon Sep 17 00:00:00 2001 From: Gary Bisson Date: Fri, 25 Feb 2022 11:37:42 +0100 Subject: [PATCH] linux-imx-headers: whitelist version.h header As some recipes, like imx-vpu-hantro, need to know the imx kernel version instead of the toolchain header version. As an example, Honister toolchain uses 5.14 kernel headers. In that case, imx-vpu-hantro believes it needs to use dmabuf allocation mechanism although this latter will only be enabled in upcoming NXP kernel 5.15. Signed-off-by: Gary Bisson (cherry picked from commit a1c7e7bb6b141c81f8430087d236eab1e0dbb428) --- recipes-kernel/linux/linux-imx-headers_5.10.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/recipes-kernel/linux/linux-imx-headers_5.10.bb b/recipes-kernel/linux/linux-imx-headers_5.10.bb index 0e15f343..7fe4761c 100644 --- a/recipes-kernel/linux/linux-imx-headers_5.10.bb +++ b/recipes-kernel/linux/linux-imx-headers_5.10.bb @@ -34,6 +34,7 @@ IMX_UAPI_HEADERS = " \ mxcfb.h \ pxp_device.h \ pxp_dma.h \ + version.h \ videodev2.h \ " -- 2.40.1