This patch is required to remove circular depedency while compiling
kernel image simpleImage.mb for MB machines.  We need the task to be
depedent on do_configure because kernel will depend on device-tree
to be available while compiling simpleImage.mb.
The kernel source is available in work-shared/kernel-source after
do_configure task is run, this patch changes the depedency from
do_shared_workdir to do_configure.

Signed-off-by: Manjukumar Matha <[email protected]>
---
 meta-xilinx-bsp/recipes-bsp/device-tree/device-tree.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-xilinx-bsp/recipes-bsp/device-tree/device-tree.bb 
b/meta-xilinx-bsp/recipes-bsp/device-tree/device-tree.bb
index 7c50283..a737067 100644
--- a/meta-xilinx-bsp/recipes-bsp/device-tree/device-tree.bb
+++ b/meta-xilinx-bsp/recipes-bsp/device-tree/device-tree.bb
@@ -51,7 +51,7 @@ DEVICETREE_PP_FLAGS ?= " \
 python () {
     # auto add dependency on kernel tree
     if d.getVar("KERNEL_DTS_INCLUDE") != "":
-        d.appendVarFlag("do_compile", "depends", " 
virtual/kernel:do_shared_workdir")
+        d.appendVarFlag("do_compile", "depends", " 
virtual/kernel:do_configure")
 }
 
 do_compile() {
-- 
2.7.4

-- 
_______________________________________________
meta-xilinx mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-xilinx

Reply via email to