[meta-xilinx] [meta-xilinx-bsp][PATCH] device-tree.bb: Change depedency to do_configure task
Nathan Rossi
nathan at nathanrossi.com
Tue Jan 9 00:14:10 PST 2018
On 9 January 2018 at 10:32, Manjukumar Matha
<manjukumar.harthikote-matha at xilinx.com> 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.
This change looks good, and the kernel do_configure task will be
re-run if kernel-source is missing (e.g. tmp dir removed and
rebuilding from sstate).
Reviewed-by: Nathan Rossi <nathan at nathanrossi.com>
Regards,
Nathan
>
> 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() {
> --
> 2.7.4
>
> --
> _______________________________________________
> meta-xilinx mailing list
> meta-xilinx at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-xilinx
More information about the meta-xilinx
mailing list