diff --git a/meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx.inc b/meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx.inc index bd9711f52..8e01b1621 100644 --- a/meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx.inc +++ b/meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx.inc @@ -75,9 +75,9 @@ do_deploy:prepend() { fi # In ZynqMP u-boot.dtb is generated by default but not for versal, Hence manually deploy. - if [ "${SOC_FAMILY}" == "versal" ]; then - if [ -f ${B}/arch/arm/dts/${UBOOT_USER_SPECIFIED_DTS}.dtb ]; then - install -Dm 0644 ${B}/arch/arm/dts/${UBOOT_USER_SPECIFIED_DTS}.dtb ${DEPLOYDIR}/u-boot.dtb + if [ "${SOC_FAMILY}" = "versal" ]; then + if [ -f "${B}/arch/arm/dts/${UBOOT_USER_SPECIFIED_DTS}.dtb" ]; then + install -Dm 0644 "${B}/arch/arm/dts/${UBOOT_USER_SPECIFIED_DTS}.dtb" "${DEPLOYDIR}/u-boot.dtb" fi fi }