Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 1D59CE00CD0; Wed, 23 Nov 2016 10:09:49 -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,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 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 CC9DAE00CC9 for ; Wed, 23 Nov 2016 10:09:47 -0800 (PST) Received: by arago-project.org (Postfix, from userid 107) id 0870352A3F; Wed, 23 Nov 2016 18:09:47 +0000 (UTC) To: meta-ti@yoctoproject.org Message-Id: <20161123180947.0870352A3F@arago-project.org> Date: Wed, 23 Nov 2016 18:09:47 +0000 (UTC) From: git@arago-project.org (Arago Project git) Subject: Denys Dmytriyenko : cmem-mod: workaround the new Module.symvers requirement 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: Wed, 23 Nov 2016 18:09:49 -0000 Content-Type: text/plain; charset=UTF-8 Module: meta-ti Branch: master Commit: 9acb9cde60b50ca39f5d27cfa4b6e47909763142 URL: http://arago-project.org/git/meta-ti.git?a=commit;h=9acb9cde60b50ca39f5d27cfa4b6e47909763142 Author: Denys Dmytriyenko Date: Sat Nov 19 03:48:18 2016 +0000 cmem-mod: workaround the new Module.symvers requirement Signed-off-by: Denys Dmytriyenko --- recipes-bsp/cmem/cmem-mod_git.bb | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/recipes-bsp/cmem/cmem-mod_git.bb b/recipes-bsp/cmem/cmem-mod_git.bb index d36816b..bf6a477 100644 --- a/recipes-bsp/cmem/cmem-mod_git.bb +++ b/recipes-bsp/cmem/cmem-mod_git.bb @@ -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 +}