[meta-ti] [PATCH] uio-module-drv: Update dependency on kernel modules

Sam Nelson sam.nelson at ti.com
Wed Dec 16 10:41:03 PST 2015


- This is to make this module depend on compilation of kernelmodules.
This will make sure uio.ko is built in the kernel before compilation of
this module.

Signed-off-by: Sam Nelson <sam.nelson at ti.com>
---
 recipes-bsp/uio-module-drv/uio-module-drv_git.bb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/recipes-bsp/uio-module-drv/uio-module-drv_git.bb b/recipes-bsp/uio-module-drv/uio-module-drv_git.bb
index 445dc1c..e10fdeb 100644
--- a/recipes-bsp/uio-module-drv/uio-module-drv_git.bb
+++ b/recipes-bsp/uio-module-drv/uio-module-drv_git.bb
@@ -4,9 +4,11 @@ include uio-module-drv.inc
 PV = "2.0.0.0+git${SRCPV}"
 
 # This package builds a kernel module, use kernel PR as base and append a local
-MACHINE_KERNEL_PR_append = "b"
+MACHINE_KERNEL_PR_append = "c"
 PR = "${MACHINE_KERNEL_PR}"
 
+do_configure[depends] += "virtual/kernel:do_compile_kernelmodules"
+
 module_auto_load_uio-module-drv = "uio-module-drv"
 
 inherit module
-- 
1.9.1



More information about the meta-ti mailing list