Deploy all device-tree built dtbs into a subdirectory of the DEPLOYDIR,
this directory matches the name of the directory of `/boot/devicetree`
such that if the package is installed it would match the structure of
the built deploy directory.

This is also to split deploy directory dtbs so that it is easy to
determine the dtbs from device-tree vs the dtbs from the kernel.

Signed-off-by: Nathan Rossi <nat...@nathanrossi.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 a7370674a4..4440b90689 100644
--- a/meta-xilinx-bsp/recipes-bsp/device-tree/device-tree.bb
+++ b/meta-xilinx-bsp/recipes-bsp/device-tree/device-tree.bb
@@ -76,7 +76,7 @@ do_install() {
 
 do_deploy() {
        for DTB_FILE in `ls *.dtb *.dtbo`; do
-               install -Dm 0644 ${B}/${DTB_FILE} ${DEPLOYDIR}/${DTB_FILE}
+               install -Dm 0644 ${B}/${DTB_FILE} 
${DEPLOYDIR}/devicetree/${DTB_FILE}
        done
 }
 addtask deploy before do_build after do_install
-- 
2.15.1

-- 
_______________________________________________
meta-xilinx mailing list
meta-xilinx@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-xilinx

Reply via email to