From 9acb9cde60b50ca39f5d27cfa4b6e47909763142 Mon Sep 17 00:00:00 2001 From: Denys Dmytriyenko Date: Sat, 19 Nov 2016 03:48:18 +0000 Subject: [PATCH] cmem-mod: workaround the new Module.symvers requirement Signed-off-by: Denys Dmytriyenko --- recipes-bsp/cmem/cmem-mod_git.bb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/recipes-bsp/cmem/cmem-mod_git.bb b/recipes-bsp/cmem/cmem-mod_git.bb index d36816b5..bf6a4770 100644 --- a/recipes-bsp/cmem/cmem-mod_git.bb +++ b/recipes-bsp/cmem/cmem-mod_git.bb @@ -3,7 +3,7 @@ DESCRIPTION = "Kernel module for contiguous memory allocation from userspace" include cmem.inc # 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}" inherit module @@ -12,3 +12,7 @@ EXTRA_OEMAKE += '-f lu.mak KERNEL_INSTALL_DIR="${STAGING_KERNEL_DIR}" TOOLCHAIN_ MAKE_TARGETS = "module" KERNEL_MODULE_AUTOLOAD += "cmemk" + +do_install_prepend() { + cp ${B}/src/cmem/module/Module.symvers ${B}/ || true +}