diff options
author | Sam Nelson <sam.nelson@ti.com> | 2015-12-14 17:47:48 +0000 |
---|---|---|
committer | Denys Dmytriyenko <denys@ti.com> | 2015-12-17 20:06:21 -0500 |
commit | 4f542c3fe47a8c6be195b3c97fd83efbf930bb70 (patch) | |
tree | de6e9aab577695ce99ac9b91a76688df2536bd0b | |
parent | b7d57fa23e147f18ba84e703689e29a50f867dac (diff) | |
download | meta-ti-4f542c3fe47a8c6be195b3c97fd83efbf930bb70.tar.gz |
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>
-rw-r--r-- | recipes-kernel/linux/linux-ti-staging_3.14.bb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/recipes-kernel/linux/linux-ti-staging_3.14.bb b/recipes-kernel/linux/linux-ti-staging_3.14.bb index 54530e4c..88950ae4 100644 --- a/recipes-kernel/linux/linux-ti-staging_3.14.bb +++ b/recipes-kernel/linux/linux-ti-staging_3.14.bb | |||
@@ -65,3 +65,7 @@ KERNEL_GIT_PROTOCOL = "git" | |||
65 | SRC_URI += "${KERNEL_GIT_URI};protocol=${KERNEL_GIT_PROTOCOL};branch=${BRANCH} \ | 65 | SRC_URI += "${KERNEL_GIT_URI};protocol=${KERNEL_GIT_PROTOCOL};branch=${BRANCH} \ |
66 | file://defconfig \ | 66 | file://defconfig \ |
67 | " | 67 | " |
68 | |||
69 | do_compile_kernelmodules_append() { | ||
70 | cp Module.symvers ${STAGING_KERNEL_BUILDDIR}/ | ||
71 | } | ||