1
0
mirror of https://git.yoctoproject.org/meta-ti synced 2026-06-02 17:01:04 +00:00

linux-ti-staging: Work around to avoid race condition with external module

Currently there is an issue with compiling external kernel module
which depends on symbols from another kernel module which is part of the
list of modules configured to be built as modules in the default config.

This work around allows to avoid the issue by copying the module
symbols to the kernel directory after making the kernel modules build.

This issue is already fixed in oe-core: master branch as of date
 - this is just work around before updating to latest oe-core

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
This commit is contained in:
Sam Nelson
2016-01-29 02:29:41 +00:00
committed by Denys Dmytriyenko
parent 56eeb80d34
commit a341314622
@@ -84,3 +84,7 @@ KERNEL_GIT_URI = "git://git.ti.com/ti-linux-kernel/ti-linux-kernel.git"
KERNEL_GIT_PROTOCOL = "git"
SRC_URI += "${KERNEL_GIT_URI};protocol=${KERNEL_GIT_PROTOCOL};branch=${BRANCH} \
file://defconfig"
do_compile_kernelmodules_append() {
cp Module.symvers ${STAGING_KERNEL_BUILDDIR}/
}