summaryrefslogtreecommitdiffstats
path: root/meta/classes
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@microsoft.com>2020-12-16 18:51:35 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-12-20 00:03:01 +0000
commit47c5ea69e1a6c4fd3aa766d5223aff1201a4a1d8 (patch)
treeeb99ef38455c62cb03e15a7b1fed84024d9f4ecd /meta/classes
parent80bbea06e706fde3600950ea9ddfc38a1a76b8bb (diff)
downloadopenembedded-core-contrib-47c5ea69e1a6c4fd3aa766d5223aff1201a4a1d8.tar.gz
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 <paul.eggleton@microsoft.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/kernel-fitimage.bbclass5
1 files changed, 4 insertions, 1 deletions
diff --git a/meta/classes/kernel-fitimage.bbclass b/meta/classes/kernel-fitimage.bbclass
index bb2f3c4ccc4..f121eee274a 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
}