diff options
| author | Antonin Godard <antonin.godard@bootlin.com> | 2024-12-20 13:16:39 +0100 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-12-28 10:57:47 +0000 |
| commit | c8f553a1778b7596e9f70005d2932253e6462a0b (patch) | |
| tree | 4d8c076c953422199f294c48df5b1b499c333283 /documentation | |
| parent | 30ab6f415361a5e9eb8b3096a0435e8892287991 (diff) | |
| download | poky-c8f553a1778b7596e9f70005d2932253e6462a0b.tar.gz | |
ref-manual/variables: document the CARGO_INSTALL_LIBRARIES variable
This variable controls whether libraries compiled by recipes inheriting
cargo are installed or not.
(From yocto-docs rev: c42f80a12e9e71fa7dab9672fb3174ed006b214b)
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation')
| -rw-r--r-- | documentation/ref-manual/variables.rst | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/documentation/ref-manual/variables.rst b/documentation/ref-manual/variables.rst index 2a97ff98d3..1d4e2e2be6 100644 --- a/documentation/ref-manual/variables.rst +++ b/documentation/ref-manual/variables.rst | |||
| @@ -1230,6 +1230,15 @@ system and gives an overview of their function and contents. | |||
| 1230 | :term:`Metadata` so it does not need to be parsed every time | 1230 | :term:`Metadata` so it does not need to be parsed every time |
| 1231 | BitBake is started. | 1231 | BitBake is started. |
| 1232 | 1232 | ||
| 1233 | :term:`CARGO_INSTALL_LIBRARIES` | ||
| 1234 | When inheriting the :ref:`ref-classes-cargo` class, the variable | ||
| 1235 | :term:`CARGO_INSTALL_LIBRARIES` can be set to a non-empty value by | ||
| 1236 | individual recipes to enable the installation of the libraries the | ||
| 1237 | recipe has built in ``${B}/target/${CARGO_TARGET_SUBDIR}`` (files ending | ||
| 1238 | with ``.so`` or ``.rlib``). By default this variable is not defined and | ||
| 1239 | libraries are not installed, to replicate the behavior of the ``cargo | ||
| 1240 | install`` command. | ||
| 1241 | |||
| 1233 | :term:`CC` | 1242 | :term:`CC` |
| 1234 | The minimal command and arguments used to run the C compiler. | 1243 | The minimal command and arguments used to run the C compiler. |
| 1235 | 1244 | ||
