Skip to content

Commit 936845b

Browse files
nickpelling-ramonspacemhatle
authored andcommitted
Fix malformed shell script conditional in u-boot-xlnx.inc
Submitted via github.com pull request: #68 Signed-off-by: Mark Hatle <mark.hatle@amd.com>
1 parent 7e0d742 commit 936845b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx.inc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ python __anonymous () {
3030
}
3131

3232
do_configure:prepend () {
33-
if [ -n "${UBOOT_USER_SPECIFIED_DTS}" && ! -f ${S}/arch/arm/dts/${UBOOT_USER_SPECIFIED_DTS}.dts ]; then
33+
if [ -n "${UBOOT_USER_SPECIFIED_DTS}" ] && [ ! -f "${S}/arch/arm/dts/${UBOOT_USER_SPECIFIED_DTS}.dts" ]; then
3434
bbfatal "Uboot user specified dts (${UBOOT_USER_SPECIFIED_DTS}.dts) is not found in \
3535
the${S}/arch/arm/dts directory, you need to patch dts file to u-boot source and use this configuration. \
3636
For more details refer https://u-boot.readthedocs.io/en/latest/develop/devicetree/control.html#configuration "

0 commit comments

Comments
 (0)