[meta-xilinx] [meta-xilinx-bsp][PATCH] device-tree.bb: Change depedency to do_configure task

Vineeth Karumanchi vineethchowz.chowdary at xilinx.com
Mon Jan 8 18:47:45 PST 2018


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 ?

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 <manjukumar.harthikote-matha at xilinx.com>
> ---
>   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() {
> 


More information about the meta-xilinx mailing list