summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Opdenacker <michael.opdenacker@bootlin.com>2023-05-26 13:41:14 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-06-02 16:42:46 +0100
commitfcaf9c6887b562c3e1d01ae10888c2b96f88b91e (patch)
tree84379b9ea1021c0d7887e975fc795f7f9be586d9
parent9c201d951c671e69104bd991155180de98a581f7 (diff)
downloadpoky-fcaf9c6887b562c3e1d01ae10888c2b96f88b91e.tar.gz
manuals: document SPLASH_IMAGES variable
(From yocto-docs rev: a30204ade74a93077017e3c5e1167102a0213983) Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--documentation/dev-manual/custom-distribution.rst9
-rw-r--r--documentation/ref-manual/variables.rst32
2 files changed, 37 insertions, 4 deletions
diff --git a/documentation/dev-manual/custom-distribution.rst b/documentation/dev-manual/custom-distribution.rst
index e5b1ad777a..47faed0d04 100644
--- a/documentation/dev-manual/custom-distribution.rst
+++ b/documentation/dev-manual/custom-distribution.rst
@@ -98,11 +98,12 @@ layer. The following steps provide some more detail:
98 98
99 - Add any image recipes that are specific to your distribution. 99 - Add any image recipes that are specific to your distribution.
100 100
101 - Add a ``psplash`` append file for a branded splash screen. For 101 - Add a ``psplash`` append file for a branded splash screen, using
102 information on append files, see the 102 the :term:`SPLASH_IMAGES` variable.
103 ":ref:`dev-manual/layers:appending other layers metadata with your layer`"
104 section.
105 103
106 - Add any other append files to make custom changes that are 104 - Add any other append files to make custom changes that are
107 specific to individual recipes. 105 specific to individual recipes.
108 106
107 For information on append files, see the
108 ":ref:`dev-manual/layers:appending other layers metadata with your layer`"
109 section.
diff --git a/documentation/ref-manual/variables.rst b/documentation/ref-manual/variables.rst
index 6680322f4c..6a7888ab47 100644
--- a/documentation/ref-manual/variables.rst
+++ b/documentation/ref-manual/variables.rst
@@ -7826,6 +7826,38 @@ system and gives an overview of their function and contents.
7826 for such applications to use. This variable is set by default to 7826 for such applications to use. This variable is set by default to
7827 ``psplash``. 7827 ``psplash``.
7828 7828
7829 :term:`SPLASH_IMAGES`
7830 This variable, used by the ``psplash`` recipe, allows to customize
7831 the default splashscreen image.
7832
7833 Specified images in PNG format are converted to ``.h`` files by the recipe,
7834 and are included in the ``psplash`` binary, so you won't find them in
7835 the root filesystem.
7836
7837 To make such a change, it is recommended to customize the
7838 ``psplash`` recipe in a custom layer. Here is an example structure for
7839 an ``ACME`` board::
7840
7841 meta-acme/recipes-core/psplash
7842 ├── files
7843 │   └── logo-acme.png
7844 └── psplash_%.bbappend
7845
7846 And here are the contents of the ``psplash_%.bbappend`` file in
7847 this example::
7848
7849 SPLASH_IMAGES = "file://logo-acme.png;outsuffix=default"
7850 FILESEXTRAPATHS:prepend := "${THISDIR}/files:"
7851
7852 You could even add specific configuration options for ``psplash``,
7853 for example::
7854
7855 EXTRA_OECONF += "--disable-startup-msg --enable-img-fullscreen"
7856
7857 For information on append files, see the
7858 ":ref:`dev-manual/layers:appending other layers metadata with your layer`"
7859 section.
7860
7829 :term:`SRCREV_FORMAT` 7861 :term:`SRCREV_FORMAT`
7830 See :term:`bitbake:SRCREV_FORMAT` in the BitBake manual. 7862 See :term:`bitbake:SRCREV_FORMAT` in the BitBake manual.
7831 7863