Populate any built dtb's into the sysroot so that other recipes can use
the output products.

Signed-off-by: Nathan Rossi <[email protected]>
---
 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
[email protected]
https://lists.yoctoproject.org/listinfo/meta-xilinx

Reply via email to