Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id B9A4FE00A92; Mon, 1 Feb 2016 14:09:07 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-0.9 required=5.0 tests=BAYES_00,LOTS_OF_MONEY, RDNS_DYNAMIC autolearn=no version=3.3.1 X-Spam-HAM-Report: * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * 1.0 RDNS_DYNAMIC Delivered to internal network by host with * dynamic-looking rDNS * 0.0 LOTS_OF_MONEY Huge... sums of money Received: from arago-project.org (ec2-184-73-161-183.compute-1.amazonaws.com [184.73.161.183]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 36E38E0073D for ; Mon, 1 Feb 2016 14:09:03 -0800 (PST) Received: by arago-project.org (Postfix, from userid 107) id 05B8D529C7; Mon, 1 Feb 2016 22:09:03 +0000 (UTC) To: meta-ti@yoctoproject.org Message-Id: <20160201220903.05B8D529C7@arago-project.org> Date: Mon, 1 Feb 2016 22:09:03 +0000 (UTC) From: git@arago-project.org (Arago Project git) Subject: Sam Nelson : linux-ti-staging: Work around to avoid race condition with external module X-BeenThere: meta-ti@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Usage and development list for the meta-ti layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Feb 2016 22:09:07 -0000 Content-Type: text/plain; charset=UTF-8 Module: meta-ti Branch: fido Commit: a34131462270ed70116d264495e8d13586956b6e URL: http://arago-project.org/git/meta-ti.git?a=commit;h=a34131462270ed70116d264495e8d13586956b6e Author: Sam Nelson Date: Fri Jan 29 02:29:41 2016 +0000 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 Signed-off-by: Denys Dmytriyenko --- recipes-kernel/linux/linux-ti-staging_4.1.bb | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/recipes-kernel/linux/linux-ti-staging_4.1.bb b/recipes-kernel/linux/linux-ti-staging_4.1.bb index 59805c6..dfe9a44 100644 --- a/recipes-kernel/linux/linux-ti-staging_4.1.bb +++ b/recipes-kernel/linux/linux-ti-staging_4.1.bb @@ -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}/ +}