From bf4076e990494093fda3bddc4706d42f1f7438e3 Mon Sep 17 00:00:00 2001 From: Zachary Booth Date: Mon, 7 Nov 2022 14:18:30 -0600 Subject: [PATCH] conf: omap-a15: Fix parsing when KERNEL_DEVICETREE is not set Correctly handle parsing when KERNEL_DEVICETREE is not set. Signed-off-by: Zachary Booth Signed-off-by: Joshua Watt Signed-off-by: Joshua Watt Signed-off-by: Ryan Eatmon --- conf/machine/include/omap-a15.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/machine/include/omap-a15.inc b/conf/machine/include/omap-a15.inc index 02225a4e..4f57e6d1 100644 --- a/conf/machine/include/omap-a15.inc +++ b/conf/machine/include/omap-a15.inc @@ -19,7 +19,7 @@ UBOOT_ARCH = "arm" UBOOT_ENTRYPOINT = "0x80008000" UBOOT_LOADADDRESS = "0x80008000" -DEVICETREE_FILE = "${@d.getVar('KERNEL_DEVICETREE').replace("ti/","")}" +DEVICETREE_FILE = "${@(d.getVar('KERNEL_DEVICETREE') or "").replace("ti/","")}" # Generate an extlinux.conf file UBOOT_EXTLINUX = "1"