Skip to contentSkip to conversation

uio-module-drv: Update dependency on kernel modules

PATCH New Sam Nelson 1 participant 1 message Dec 16, 2015

lore
Share & tools
lore

Sam Nelson

author
#0 lore raw

PATCH 1/1 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.

---
 recipes-bsp/uio-module-drv/uio-module-drv_git.bb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
recipes-bsp/uio-module-drv/uio-module-drv_git.bb +3 -1
index 445dc1c..e10fdeb 100644
@@ -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
Signature · 1 line
1.9.1