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@ti.com>
This commit is contained in:
Denys Dmytriyenko committed 2017-02-28 19:12:24 -05:00
1 parent 5299898b92
commit 2c8294a83b
1 file changed
+2
+2
View File
@@ -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