summaryrefslogtreecommitdiffstats
path: root/meta/classes/uboot-config.bbclass
diff options
context:
space:
mode:
authorAlistair Francis <alistair.francis@wdc.com>2021-06-06 17:05:32 (GMT)
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-06-07 22:00:22 (GMT)
commit984066eb13798701349436cb32b52faaccbec5e7 (patch)
tree71e6352f526955d8d3623c1de9cca2ddca798c8d /meta/classes/uboot-config.bbclass
parent6387c76f017d8ec5b01a98de0658ab390a01224f (diff)
downloadpoky-984066eb13798701349436cb32b52faaccbec5e7.tar.gz
recipes-bsp/u-boot: Allow deploying the u-boot DTB
Use ??= assignment for UBOOT_DTB_BINARY because it is set using ?= in fitImage bbclass as well, using ?= will preempt that (From OE-Core rev: efe9f33beb053c8d645bfa5791846ffaa3cbceb4) Signed-off-by: Alistair Francis <alistair.francis@wdc.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/uboot-config.bbclass')
-rw-r--r--meta/classes/uboot-config.bbclass4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/classes/uboot-config.bbclass b/meta/classes/uboot-config.bbclass
index 3bba028..451db0c 100644
--- a/meta/classes/uboot-config.bbclass
+++ b/meta/classes/uboot-config.bbclass
@@ -71,6 +71,10 @@ UBOOT_MKIMAGE_SIGN ?= "${UBOOT_MKIMAGE}"
71UBOOT_MKIMAGE_SIGN_ARGS ?= "" 71UBOOT_MKIMAGE_SIGN_ARGS ?= ""
72SPL_MKIMAGE_SIGN_ARGS ?= "" 72SPL_MKIMAGE_SIGN_ARGS ?= ""
73 73
74# Options to deploy the u-boot device tree
75UBOOT_DTB ?= ""
76UBOOT_DTB_BINARY ??= ""
77
74python () { 78python () {
75 ubootmachine = d.getVar("UBOOT_MACHINE") 79 ubootmachine = d.getVar("UBOOT_MACHINE")
76 ubootconfigflags = d.getVarFlags('UBOOT_CONFIG') 80 ubootconfigflags = d.getVarFlags('UBOOT_CONFIG')