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

Nathan Rossi nathan at nathanrossi.com
Tue Nov 7 05:43:02 PST 2017


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

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





More information about the meta-xilinx mailing list