diff options
author | Paul Eggleton <paul.eggleton@microsoft.com> | 2020-12-16 18:51:35 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-12-20 00:03:04 +0000 |
commit | be137b89585221ec6924e02fbc89decd9750d7e1 (patch) | |
tree | 232349a773140fe5b783385ec2ced5e905b99399 | |
parent | 4b63c75b80bea668bd18c11b6cef2024b017fb64 (diff) | |
download | poky-be137b89585221ec6924e02fbc89decd9750d7e1.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.
(From OE-Core rev: 47c5ea69e1a6c4fd3aa766d5223aff1201a4a1d8)
Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/classes/kernel-fitimage.bbclass | 5 |
1 files changed, 4 insertions, 1 deletions
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" | |||
72 | # Standard format for public key certificate | 72 | # Standard format for public key certificate |
73 | FIT_KEY_SIGN_PKCS ?= "-x509" | 73 | FIT_KEY_SIGN_PKCS ?= "-x509" |
74 | 74 | ||
75 | # Description string | ||
76 | FIT_DESC ?= "U-Boot fitImage for ${DISTRO_NAME}/${PV}/${MACHINE}" | ||
77 | |||
75 | # | 78 | # |
76 | # Emit the fitImage ITS header | 79 | # Emit the fitImage ITS header |
77 | # | 80 | # |
@@ -81,7 +84,7 @@ fitimage_emit_fit_header() { | |||
81 | /dts-v1/; | 84 | /dts-v1/; |
82 | 85 | ||
83 | / { | 86 | / { |
84 | description = "U-Boot fitImage for ${DISTRO_NAME}/${PV}/${MACHINE}"; | 87 | description = "${FIT_DESC}"; |
85 | #address-cells = <1>; | 88 | #address-cells = <1>; |
86 | EOF | 89 | EOF |
87 | } | 90 | } |