[meta-xilinx] [PATCH] device-tree: Populate the built device tree blobs into the sysroot

Manjukumar Harthikote Matha MANJUKUM at xilinx.com
Tue Nov 7 08:19:03 PST 2017


Hi Nathan,

> -----Original Message-----
> From: meta-xilinx-bounces at yoctoproject.org [mailto:meta-xilinx-
> bounces at yoctoproject.org] On Behalf Of Nathan Rossi
> Sent: Tuesday, November 07, 2017 5:43 AM
> To: meta-xilinx at yoctoproject.org
> Subject: [meta-xilinx] [PATCH] device-tree: Populate the built device tree blobs into
> the sysroot
> 
> Populate any built dtb's into the sysroot so that other recipes can use the output
> products.
> 

Can you provide more reasoning as why this is required? Which use-case is prompting this change?

Thanks,
Manju

> Signed-off-by: Nathan Rossi <nathan at nathanrossi.com>
> ---
>  recipes-bsp/device-tree/device-tree.bb | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/recipes-bsp/device-tree/device-tree.bb b/recipes-bsp/device-tree/device-
> tree.bb
> index ff9b6a0201..8aa03f6ecf 100644
> --- a/recipes-bsp/device-tree/device-tree.bb
> +++ b/recipes-bsp/device-tree/device-tree.bb
> @@ -23,6 +23,8 @@ FILES_${PN} = "/boot/devicetree/*.dtb
> /boot/devicetree/*.dtbo"
>  S = "${WORKDIR}"
>  B = "${WORKDIR}/build"
> 
> +SYSROOT_DIRS += "/boot/devicetree"
> +
>  # By default provide the current kernel arch's boot/dts and boot/dts/include.
>  KERNEL_DTS_INCLUDE ??= " \
>  		${STAGING_KERNEL_DIR}/arch/${ARCH}/boot/dts \
> --
> 2.14.2
> 
> 
> --
> _______________________________________________
> meta-xilinx mailing list
> meta-xilinx at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-xilinx



More information about the meta-xilinx mailing list