if ${MACHINE}.dtb != ${DTSNAME}.dtb
Signed-off-by: Jason Wu <[email protected]>
---
git.yoctoproject.org () meta-xilinx master
diff --git a/recipes-bsp/device-tree/device-tree.bb
b/recipes-bsp/device-tree/device-tree.bb
index ccfe8f9..21f481d 100644
--- a/recipes-bsp/device-tree/device-tree.bb
+++ b/recipes-bsp/device-tree/device-tree.bb
@@ -53,6 +53,8 @@ do_deploy() {
DTS_NAME=`basename ${DTS_FILE} | awk -F "." '{print $1}'`
install -d ${DEPLOY_DIR_IMAGE}
install -m 0644 ${B}/${DTS_NAME}.dtb
${DEPLOY_DIR_IMAGE}/${DTS_NAME}.dtb
+ [ ${MACHINE}.dtb == ${DTS_NAME}.dtb ] || \
+ ln -sf ${DTS_NAME}.dtb
${DEPLOY_DIR_IMAGE}/${MACHINE}.dtb
ln -sf ${DTS_NAME}.dtb ${DEPLOY_DIR_IMAGE}/system.dtb
done
}
--
1.9.1
--
_______________________________________________
meta-xilinx mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-xilinx