Skip to contentSkip to conversation

cmem-mod: workaround the new Module.symvers requirement

PATCH New Denys Dmytriyenko 1 participant 1 message Nov 18, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 cmem-mod: workaround the new Module.symvers requirement

From: Denys Dmytriyenko <[email protected]>

---
 recipes-bsp/cmem/cmem-mod_git.bb | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
recipes-bsp/cmem/cmem-mod_git.bb +5 -1
index d36816b..bf6a477 100644
@@ -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
+}
Signature · 1 line
2.7.4