bitbake: docs: bitbake-user-manual: bitbake-user-manual-hello: add links and highlights for variables

Some variables are described in the glossary so add a term role to the
references. For the others, highlight them by surrounding them with
two backticks.

Cc: Quentin Schulz <foss+yocto@0leil.net>
(Bitbake rev: 7290a9daf1707ab5b2288f34353f499f5ce57d6a)

Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Quentin Schulz 2023-06-22 18:48:45 +02:00 committed by Richard Purdie
parent bd8d5e20f4
commit 2aa3af4de3

View File

@ -209,12 +209,12 @@ Following is the complete "Hello World" example.
.. note:: .. note::
Without a value for PN , the variables STAMP , T , and B , prevent more Without a value for :term:`PN`, the variables :term:`STAMP`, :term:`T`, and :term:`B`, prevent more
than one recipe from working. You can fix this by either setting PN to than one recipe from working. You can fix this by either setting :term:`PN` to
have a value similar to what OpenEmbedded and BitBake use in the default have a value similar to what OpenEmbedded and BitBake use in the default
bitbake.conf file (see previous example). Or, by manually updating each ``bitbake.conf`` file (see previous example). Or, by manually updating each
recipe to set PN . You will also need to include PN as part of the STAMP recipe to set :term:`PN`. You will also need to include :term:`PN` as part of the :term:`STAMP`,
, T , and B variable definitions in the local.conf file. :term:`T`, and :term:`B` variable definitions in the ``local.conf`` file.
The ``TMPDIR`` variable establishes a directory that BitBake uses The ``TMPDIR`` variable establishes a directory that BitBake uses
for build output and intermediate files other than the cached for build output and intermediate files other than the cached
@ -319,9 +319,9 @@ Following is the complete "Hello World" example.
.. note:: .. note::
We are setting both LAYERSERIES_CORENAMES and LAYERSERIES_COMPAT in this particular case, because we We are setting both ``LAYERSERIES_CORENAMES`` and :term:`LAYERSERIES_COMPAT` in this particular case, because we
are using bitbake without OpenEmbedded. are using bitbake without OpenEmbedded.
You should usually just use LAYERSERIES_COMPAT to specify the OE-Core versions for which your layer You should usually just use :term:`LAYERSERIES_COMPAT` to specify the OE-Core versions for which your layer
is compatible, and add the meta-openembedded layer to your project. is compatible, and add the meta-openembedded layer to your project.
You need to create the recipe file next. Inside your layer at the You need to create the recipe file next. Inside your layer at the