From 984066eb13798701349436cb32b52faaccbec5e7 Mon Sep 17 00:00:00 2001 From: Alistair Francis Date: Sun, 6 Jun 2021 10:05:32 -0700 Subject: 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 Signed-off-by: Khem Raj Signed-off-by: Richard Purdie --- meta/classes/uboot-config.bbclass | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'meta/classes/uboot-config.bbclass') diff --git a/meta/classes/uboot-config.bbclass b/meta/classes/uboot-config.bbclass index 3bba02828b..451db0c650 100644 --- a/meta/classes/uboot-config.bbclass +++ b/meta/classes/uboot-config.bbclass @@ -71,6 +71,10 @@ UBOOT_MKIMAGE_SIGN ?= "${UBOOT_MKIMAGE}" UBOOT_MKIMAGE_SIGN_ARGS ?= "" SPL_MKIMAGE_SIGN_ARGS ?= "" +# Options to deploy the u-boot device tree +UBOOT_DTB ?= "" +UBOOT_DTB_BINARY ??= "" + python () { ubootmachine = d.getVar("UBOOT_MACHINE") ubootconfigflags = d.getVarFlags('UBOOT_CONFIG') -- cgit v1.2.3-54-g00ecf