From: Paul Eggleton Date: Thu, 17 Dec 2020 02:51:35 +0000 (-0800) Subject: classes/kernel-fitimage: add variable for description X-Git-Tag: uninative-2.10~449 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=47c5ea69e1a6c4fd3aa766d5223aff1201a4a1d8;p=openembedded-core.git classes/kernel-fitimage: add variable for description Add a FIT_DESC variable to make it possible to change how the description is set in the FIT image. Signed-off-by: Paul Eggleton Signed-off-by: Richard Purdie --- diff --git a/meta/classes/kernel-fitimage.bbclass b/meta/classes/kernel-fitimage.bbclass index bb2f3c4ccc..f121eee274 100644 --- a/meta/classes/kernel-fitimage.bbclass +++ b/meta/classes/kernel-fitimage.bbclass @@ -72,6 +72,9 @@ FIT_KEY_REQ_ARGS ?= "-batch -new" # Standard format for public key certificate FIT_KEY_SIGN_PKCS ?= "-x509" +# Description string +FIT_DESC ?= "U-Boot fitImage for ${DISTRO_NAME}/${PV}/${MACHINE}" + # # Emit the fitImage ITS header # @@ -81,7 +84,7 @@ fitimage_emit_fit_header() { /dts-v1/; / { - description = "U-Boot fitImage for ${DISTRO_NAME}/${PV}/${MACHINE}"; + description = "${FIT_DESC}"; #address-cells = <1>; EOF }