Skip to contentSkip to conversation

ref-manual: document MESON_TARGET

PATCH New [email protected] 1 participant 1 message Oct 30, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ref-manual: document MESON_TARGET

From: Michael Opdenacker <[email protected]>

---
 documentation/ref-manual/classes.rst   | 7 ++++---
 documentation/ref-manual/variables.rst | 5 +++++
 2 files changed, 9 insertions(+), 3 deletions(-)
documentation/ref-manual/classes.rst +4 -3
index c7a5e9a63a..f1d545f310 100644
@@ -1779,9 +1779,10 @@ class.
 =========
 
 The :ref:`ref-classes-meson` class allows to create recipes that build software
-using the `Meson <https://mesonbuild.com/>`__ build system. You can use
-the :term:`MESON_BUILDTYPE` and :term:`EXTRA_OEMESON` variables to specify
-additional configuration options to be passed using the ``meson`` command line.
+using the `Meson <https://mesonbuild.com/>`__ build system. You can use the
+:term:`MESON_BUILDTYPE`, :term:`MESON_TARGET` and :term:`EXTRA_OEMESON`
+variables to specify additional configuration options to be passed using the
+``meson`` command line.
 
 .. _ref-classes-metadata_scm:
 
documentation/ref-manual/variables.rst +5 -0
index 2d875c984d..3eff516f62 100644
@@ -5319,6 +5319,11 @@ system and gives an overview of their function and contents.
       you to specify the inclusion of debugging symbols and the compiler
       optimizations (none, performance or size).
 
+   :term:`MESON_TARGET`
+      A variable for the :ref:`ref-classes-meson` class, allowing to choose
+      a Meson target to build in :ref:`ref-tasks-compile`.  Otherwise, the
+      default targets are built.
+
    :term:`METADATA_BRANCH`
       The branch currently checked out for the OpenEmbedded-Core layer (path
       determined by :term:`COREBASE`).
Signature · 1 line
2.34.1