From 3b356ce5b35d234e5c4a8ee49ea9970360e7d781 Mon Sep 17 00:00:00 2001 From: nickpelling-ramonspace Date: Thu, 5 Jun 2025 14:01:13 +0100 Subject: [PATCH] Fix malformed shell script conditional in u-boot-xlnx.inc --- meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 e2ee2c3f3..1d5ee5be8 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 @@ -30,7 +30,7 @@ python __anonymous () { } do_configure:prepend () { - if [ -n "${UBOOT_USER_SPECIFIED_DTS}" && ! -f ${S}/arch/arm/dts/${UBOOT_USER_SPECIFIED_DTS}.dts ]; then + if [ -n "${UBOOT_USER_SPECIFIED_DTS}" ] && [ ! -f "${S}/arch/arm/dts/${UBOOT_USER_SPECIFIED_DTS}.dts" ]; then bbfatal "Uboot user specified dts (${UBOOT_USER_SPECIFIED_DTS}.dts) is not found in \ the${S}/arch/arm/dts directory, you need to patch dts file to u-boot source and use this configuration. \ For more details refer https://u-boot.readthedocs.io/en/latest/develop/devicetree/control.html#configuration "