diff options
| author | Nathan Rossi <nathan@nathanrossi.com> | 2017-11-07 23:43:02 +1000 |
|---|---|---|
| committer | Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com> | 2017-11-07 15:17:17 -0800 |
| commit | 7f734796d28cd92a569d35a2e08542db8ee5af0c (patch) | |
| tree | 89d23b6373537f6e90ecf815f462809e0a7603b4 | |
| parent | e09a646e4378899fe42d1f1c9a4cc20e157f21c1 (diff) | |
| download | meta-xilinx-7f734796d28cd92a569d35a2e08542db8ee5af0c.tar.gz | |
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.
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
| -rw-r--r-- | recipes-bsp/device-tree/device-tree.bb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/recipes-bsp/device-tree/device-tree.bb b/recipes-bsp/device-tree/device-tree.bb index c71f7ddb..eb1a8792 100644 --- a/recipes-bsp/device-tree/device-tree.bb +++ b/recipes-bsp/device-tree/device-tree.bb | |||
| @@ -21,6 +21,8 @@ FILES_${PN} = "/boot/devicetree/*.dtb /boot/devicetree/*.dtbo" | |||
| 21 | S = "${WORKDIR}" | 21 | S = "${WORKDIR}" |
| 22 | B = "${WORKDIR}/build" | 22 | B = "${WORKDIR}/build" |
| 23 | 23 | ||
| 24 | SYSROOT_DIRS += "/boot/devicetree" | ||
| 25 | |||
| 24 | # By default provide the current kernel arch's boot/dts and boot/dts/include. | 26 | # By default provide the current kernel arch's boot/dts and boot/dts/include. |
| 25 | KERNEL_DTS_INCLUDE ??= " \ | 27 | KERNEL_DTS_INCLUDE ??= " \ |
| 26 | ${STAGING_KERNEL_DIR}/arch/${ARCH}/boot/dts \ | 28 | ${STAGING_KERNEL_DIR}/arch/${ARCH}/boot/dts \ |
