[meta-ti] [morty/master][PATCH] ti-ipc: explicitly depend on virtual/kernel:do_shared_workdir

Denys Dmytriyenko denys at ti.com
Tue Feb 28 15:55:01 PST 2017


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 file changed, 2 insertions(+)

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
-- 
2.7.4



More information about the meta-ti mailing list