summaryrefslogtreecommitdiffstats
path: root/meta/classes-recipe/uboot-config.bbclass
diff options
context:
space:
mode:
authorJamin Lin <jamin_lin@aspeedtech.com>2024-01-19 14:19:36 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2024-02-08 17:12:55 +0000
commit17d3c8315e7a7adbe27183e11e1b6d588c1a1784 (patch)
tree2637b108a2c6161590c5d484c879ec75769d20d7 /meta/classes-recipe/uboot-config.bbclass
parentd2d818534d9334213730c169f8b235af8a794b33 (diff)
downloadopenembedded-core-17d3c8315e7a7adbe27183e11e1b6d588c1a1784.tar.gz
u-boot-sign:uboot-config: support to verify signed FIT image
It does not verify the signed FIT image of kernel and uboot. To catch the unexpected errors as far as possible at the build time, add uboot-fit-check-sign tool which is provided by u-boot to verify the signed FIT image. Signed-off-by: Jamin Lin <jamin_lin@aspeedtech.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes-recipe/uboot-config.bbclass')
-rw-r--r--meta/classes-recipe/uboot-config.bbclass3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/classes-recipe/uboot-config.bbclass b/meta/classes-recipe/uboot-config.bbclass
index 9be1d64d3e..0c579e8861 100644
--- a/meta/classes-recipe/uboot-config.bbclass
+++ b/meta/classes-recipe/uboot-config.bbclass
@@ -94,6 +94,9 @@ SPL_MKIMAGE_SIGN_ARGS ?= ""
UBOOT_DTB ?= ""
UBOOT_DTB_BINARY ??= ""
+# uboot-fit_check_sign command
+UBOOT_FIT_CHECK_SIGN ?= "uboot-fit_check_sign"
+
python () {
ubootmachine = d.getVar("UBOOT_MACHINE")
ubootconfigflags = d.getVarFlags('UBOOT_CONFIG')