[meta-ti] Denys Dmytriyenko : ti-ipc: explicitly depend on virtual/kernel: do_shared_workdir
Arago Project git
git at arago-project.org
Wed Mar 1 12:23:46 PST 2017
Module: meta-ti
Branch: morty-next
Commit: 2c8294a83bc79a988b91f09e0b5243c761463574
URL: http://arago-project.org/git/meta-ti.git?a=commit;h=2c8294a83bc79a988b91f09e0b5243c761463574
Author: Denys Dmytriyenko <denys at ti.com>
Date: Wed Mar 1 05:55:01 2017 +0000
ti-ipc: explicitly depend on virtual/kernel:do_shared_workdir
ipc code looks for kernel's generated version.h file:
#include linux_version_include(KERNEL_BUILD_DIR)
which now ends up in the following shared workdir:
work-shared/<mach>/kernel-build-artifacts/include/generated/uapi/linux/version.h
It appears if kernel is provided by sstate, shared workdir is not
getting populated, so depend on the task explicitly.
Signed-off-by: Denys Dmytriyenko <denys at ti.com>
---
recipes-ti/ipc/ti-ipc_git.bb | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/recipes-ti/ipc/ti-ipc_git.bb b/recipes-ti/ipc/ti-ipc_git.bb
index 6ccd2c4..5878b63 100644
--- a/recipes-ti/ipc/ti-ipc_git.bb
+++ b/recipes-ti/ipc/ti-ipc_git.bb
@@ -27,6 +27,8 @@ INITSCRIPT_PARAMS = "defaults 10"
EXTRA_OECONF += "PLATFORM=${PLATFORM} KERNEL_INSTALL_DIR=${STAGING_KERNEL_DIR} KERNEL_BUILD_DIR=${STAGING_KERNEL_BUILDDIR}"
+do_compile[depends] += "virtual/kernel:do_shared_workdir"
+
do_configure() {
( cd ${S}; autoreconf -f -i -s )
oe_runconf
More information about the meta-ti
mailing list