From 112e490e89b1dcbbbd611a47c12c51ea135d15ab Mon Sep 17 00:00:00 2001 From: Max Krummenacher Date: Fri, 20 Sep 2024 17:32:52 +0200 Subject: [PATCH] kernel-module-isp-vvcam: prevent build warning The way the kernel-module-isp-vvcam Makefiles are written, each kernel module gets its own Module.symvers created in its own sub directory. The only kernel module actually having a symbol exported is vvcam-dwe. Thus point MODULES_MODULE_SYMVERS_LOCATION to that location. Prevents: | WARNING: kernel-module-isp-vvcam-4.2.2.24.1-r0 do_install: Module.symvers not found in .../kernel-module-isp-vvcam/4.2.2.24.1/git/vvcam/v4l2/ | WARNING: kernel-module-isp-vvcam-4.2.2.24.1-r0 do_install: Please consider setting MODULES_MODULE_SYMVERS_LOCATION to a | WARNING: kernel-module-isp-vvcam-4.2.2.24.1-r0 do_install: directory below B to get correct inter-module dependencies Signed-off-by: Max Krummenacher (cherry picked from commit db105fd6540fd6de1f03ce83b77548d45e7333e1) --- .../kernel-modules/kernel-module-isp-vvcam_4.2.2.24.2.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/recipes-kernel/kernel-modules/kernel-module-isp-vvcam_4.2.2.24.2.bb b/recipes-kernel/kernel-modules/kernel-module-isp-vvcam_4.2.2.24.2.bb index 55a4bedad..5bd58cb1b 100644 --- a/recipes-kernel/kernel-modules/kernel-module-isp-vvcam_4.2.2.24.2.bb +++ b/recipes-kernel/kernel-modules/kernel-module-isp-vvcam_4.2.2.24.2.bb @@ -13,6 +13,8 @@ S = "${WORKDIR}/git/vvcam/v4l2" inherit module +MODULES_MODULE_SYMVERS_LOCATION = "dwe" + DEBUG_PREFIX_MAP:prepend = " \ -fmacro-prefix-map=${WORKDIR}/git/vvcam=/usr/src/debug/${PN}/${EXTENDPE}${PV}-${PR} \ -fdebug-prefix-map=${WORKDIR}/git/vvcam=/usr/src/debug/${PN}/${EXTENDPE}${PV}-${PR} "