Skip to contentSkip to conversation

Denys Dmytriyenko : ti-ipc: explicitly depend on virtual/kernel: do_shared_workdir

PATCH Arago Project git 1 participant 1 message Mar 1, 2017

lore
Share & tools
lore
#0 lore raw
Module: meta-ti
Branch: morty
Commit: 2c8294a83bc79a988b91f09e0b5243c761463574
URL:    http://arago-project.org/git/meta-ti.git?a=commit;h=2c8294a83bc79a988b91f09e0b5243c761463574
Author: Denys Dmytriyenko <[email protected]>
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.

---

 recipes-ti/ipc/ti-ipc_git.bb |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
recipes-ti/ipc/ti-ipc_git.bb +2 -0
index 6ccd2c4..5878b63 100644
@@ -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