From fc246f3f8f7f7318a374cfa159e569639de888dc Mon Sep 17 00:00:00 2001 From: Sam Nelson Date: Thu, 17 Dec 2015 00:41:03 +0000 Subject: [PATCH] uio-module-drv: Update dependency on kernel modules - 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 Signed-off-by: Denys Dmytriyenko --- 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 445dc1c6..e10fdeb8 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