Skip to contentSkip to conversation

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

PATCH New Denys Dmytriyenko 1 participant 1 message Feb 28, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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 file changed, 2 insertions(+)
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
Signature · 1 line
2.7.4