Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 42871E008F5; Thu, 28 Jan 2016 12:29:54 -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=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -5.0 RCVD_IN_DNSWL_HI RBL: Sender listed at http://www.dnswl.org/, high * trust * [192.94.94.41 listed in list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Received: from bear.ext.ti.com (bear.ext.ti.com [192.94.94.41]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 021A1E00803 for ; Thu, 28 Jan 2016 12:29:49 -0800 (PST) Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by bear.ext.ti.com (8.13.7/8.13.7) with ESMTP id u0SKTmPw023713 for ; Thu, 28 Jan 2016 14:29:48 -0600 Received: from DFLE72.ent.ti.com (dfle72.ent.ti.com [128.247.5.109]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id u0SKTmI3020525 for ; Thu, 28 Jan 2016 14:29:48 -0600 Received: from dflp32.itg.ti.com (10.64.6.15) by DFLE72.ent.ti.com (128.247.5.109) with Microsoft SMTP Server id 14.3.224.2; Thu, 28 Jan 2016 14:29:48 -0600 Received: from udb0862859.am.dhcp.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by dflp32.itg.ti.com (8.14.3/8.13.8) with ESMTP id u0SKTiEn001024; Thu, 28 Jan 2016 14:29:45 -0600 From: Sam Nelson To: Date: Thu, 28 Jan 2016 15:29:41 -0500 Message-ID: <1454012981-14282-1-git-send-email-sam.nelson@ti.com> X-Mailer: git-send-email 1.7.9.5 MIME-Version: 1.0 Subject: [PATCH fido] 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: Thu, 28 Jan 2016 20:29:54 -0000 Content-Type: text/plain 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 --- recipes-kernel/linux/linux-ti-staging_4.1.bb | 4 ++++ 1 file changed, 4 insertions(+) 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}/ +} -- 1.7.9.5