On 9 January 2018 at 12:47, Vineeth Karumanchi <[email protected]> wrote: > Hi Manju, > > if we build device-tree only, is it expected for > kernel tasks to stop at do_configure or > it will execute all tasks of kernel as well ?
Manju's patch changes it so that only tasks up to do_configure are executed, so for you device-tree only case the kernel tasks after do_configure would not be executed. The existing do_shared_workdir dependency caused at least the kernels do_compile to execute (among other kernel tasks). Regards, Nathan > > Thanks > VIneeth > > On 1/9/2018 6:02 AM, Manjukumar Matha wrote: >> >> 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() { >> > -- > _______________________________________________ > meta-xilinx mailing list > [email protected] > https://lists.yoctoproject.org/listinfo/meta-xilinx -- _______________________________________________ meta-xilinx mailing list [email protected] https://lists.yoctoproject.org/listinfo/meta-xilinx
