diff options
-rw-r--r-- | documentation/ref-manual/variables.rst | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/documentation/ref-manual/variables.rst b/documentation/ref-manual/variables.rst index 079ee76af8..4953fae4b6 100644 --- a/documentation/ref-manual/variables.rst +++ b/documentation/ref-manual/variables.rst | |||
@@ -4520,6 +4520,23 @@ system and gives an overview of their function and contents. | |||
4520 | Set the variable to "1" to prevent the default dependencies from | 4520 | Set the variable to "1" to prevent the default dependencies from |
4521 | being added. | 4521 | being added. |
4522 | 4522 | ||
4523 | :term:`INHIBIT_DEFAULT_RUST_DEPS` | ||
4524 | Prevents the :ref:`ref-classes-rust` class from automatically adding | ||
4525 | its default build-time dependencies. | ||
4526 | |||
4527 | When a recipe inherits the :ref:`ref-classes-rust` class, several | ||
4528 | tools such as ``rust-native`` and ``${RUSTLIB_DEP}`` (only added when cross-compiling) are added | ||
4529 | to :term:`DEPENDS` to support the ``rust`` build process. | ||
4530 | |||
4531 | To prevent the build system from adding these dependencies automatically, | ||
4532 | set the :term:`INHIBIT_DEFAULT_RUST_DEPS` variable as follows:: | ||
4533 | |||
4534 | INHIBIT_DEFAULT_RUST_DEPS = "1" | ||
4535 | |||
4536 | By default, the value of :term:`INHIBIT_DEFAULT_RUST_DEPS` is empty. Setting | ||
4537 | it to "0" does not disable inhibition. Only the empty string will disable | ||
4538 | inhibition. | ||
4539 | |||
4523 | :term:`INHIBIT_PACKAGE_DEBUG_SPLIT` | 4540 | :term:`INHIBIT_PACKAGE_DEBUG_SPLIT` |
4524 | Prevents the OpenEmbedded build system from splitting out debug | 4541 | Prevents the OpenEmbedded build system from splitting out debug |
4525 | information during packaging. By default, the build system splits out | 4542 | information during packaging. By default, the build system splits out |