mirror of
https://git.yoctoproject.org/meta-ti
synced 2026-06-05 10:21:52 +00:00
cmem-mod: workaround the new Module.symvers requirement
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user