diff options
author | Ulrich Ölmann <u.oelmann@pengutronix.de> | 2023-07-14 11:35:52 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-08-03 15:11:10 +0100 |
commit | 7be9b1ff8175eefe675f6c3329e69d9a7532da02 (patch) | |
tree | b36dadcf44b62f473654f03a563cad49b7a3285a /documentation/ref-manual | |
parent | 69d68f609461ba0aa370658fe3daecbdceb4eda1 (diff) | |
download | poky-7be9b1ff8175eefe675f6c3329e69d9a7532da02.tar.gz |
ref-manual: classes: kernel-fitimage: fix source of imagetype
The actual code in kernel-fitimage.bbclass checks if "fitImage" is listed in
KERNEL_IMAGETYPES (see e.g. [1]) which is a merge of KERNEL_IMAGETYPE,
KERNEL_ALT_IMAGETYPE and KERNEL_IMAGETYPES (see [2]).
[1] https://git.yoctoproject.org/poky/tree/meta/classes-recipe/kernel-fitimage.bbclass?h=4.3_M1&id=cc97d775cb402df0d4122bf54eab1a5198c98471#n9
[2] https://git.yoctoproject.org/poky/tree/meta/classes-recipe/kernel.bbclass?h=4.3_M1&id=cc97d775cb402df0d4122bf54eab1a5198c98471#n74
(From yocto-docs rev: a0f79745a80c7a88167d83d905e75e1fcd5f054d)
Signed-off-by: Ulrich Ölmann <u.oelmann@pengutronix.de>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/ref-manual')
-rw-r--r-- | documentation/ref-manual/classes.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/documentation/ref-manual/classes.rst b/documentation/ref-manual/classes.rst index e555a80b5a..6ab80b10b7 100644 --- a/documentation/ref-manual/classes.rst +++ b/documentation/ref-manual/classes.rst | |||
@@ -1599,8 +1599,8 @@ an optional :term:`Initramfs` bundle, an optional RAM disk, and any number of | |||
1599 | device trees. | 1599 | device trees. |
1600 | 1600 | ||
1601 | To create a FIT image, it is required that :term:`KERNEL_CLASSES` | 1601 | To create a FIT image, it is required that :term:`KERNEL_CLASSES` |
1602 | is set to include ":ref:`ref-classes-kernel-fitimage`" and :term:`KERNEL_IMAGETYPE` | 1602 | is set to include ":ref:`ref-classes-kernel-fitimage`" and one of :term:`KERNEL_IMAGETYPE`, |
1603 | is set to "fitImage". | 1603 | :term:`KERNEL_ALT_IMAGETYPE` or :term:`KERNEL_IMAGETYPES` to include "fitImage". |
1604 | 1604 | ||
1605 | The options for the device tree compiler passed to ``mkimage -D`` | 1605 | The options for the device tree compiler passed to ``mkimage -D`` |
1606 | when creating the FIT image are specified using the | 1606 | when creating the FIT image are specified using the |