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.

(From OE-Core rev: 47c5ea69e1a6c4fd3aa766d5223aff1201a4a1d8)

Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Paul Eggleton
2020-12-16 18:51:35 -08:00
committed by Richard Purdie
parent 4b63c75b80
commit be137b8958

View File

@@ -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
}