Denys Dmytriyenko : cmem-mod: workaround the new Module.symvers requirement
Module: meta-ti Branch: master Commit: 9acb9cde60b50ca39f5d27cfa4b6e47909763142 URL: http://arago-project.org/git/meta-ti.git?a=commit;h=9acb9cde60b50ca39f5d27cfa4b6e47909763142
Author: Denys Dmytriyenko <[email protected]> Date: Sat Nov 19 03:48:18 2016 +0000
cmem-mod: workaround the new Module.symvers requirement
Signed-off-by Denys Dmytriyenko <[email protected]>
---
recipes-bsp/cmem/cmem-mod_git.bb | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-)
recipes-bsp/cmem/cmem-mod_git.bb +5 -1
@@ -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 +}