On 11/7/2022 14:18, Joshua Watt wrote:
From: Zachary Booth <[email protected]>
Correctly handle parsing when KERNEL_DEVICETREE is not set.
Signed-off-by: Zachary Booth <[email protected]>
Signed-off-by: Joshua Watt <[email protected]>
Signed-off-by: Joshua Watt <[email protected]>
---
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/","")}"
What is the scenario that results in KERNEL_DEVICETREE not being set? I
just checked all of the files in meta-ti that include omap-a15.inc and
they all have the variable set.
# Generate an extlinux.conf file
UBOOT_EXTLINUX = "1"
--
Ryan Eatmon [email protected]
-----------------------------------------
Texas Instruments, Inc. - LCPD - MGTS
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#15338):
https://lists.yoctoproject.org/g/meta-ti/message/15338
Mute This Topic: https://lists.yoctoproject.org/mt/94875941/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-ti/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-