diff options
-rw-r--r-- | documentation/ref-manual/variables.rst | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/documentation/ref-manual/variables.rst b/documentation/ref-manual/variables.rst index 643a3e7ae8..e22a69b13c 100644 --- a/documentation/ref-manual/variables.rst +++ b/documentation/ref-manual/variables.rst | |||
@@ -4487,6 +4487,24 @@ system and gives an overview of their function and contents. | |||
4487 | 4487 | ||
4488 | INHERIT_DISTRO ?= "debian devshell sstate license remove-libtool create-spdx" | 4488 | INHERIT_DISTRO ?= "debian devshell sstate license remove-libtool create-spdx" |
4489 | 4489 | ||
4490 | :term:`INHIBIT_AUTOTOOLS_DEPS` | ||
4491 | Prevents the :ref:`ref-classes-autotools` class from automatically adding | ||
4492 | its default build-time dependencies. | ||
4493 | |||
4494 | When a recipe inherits the :ref:`ref-classes-autotools` class, several | ||
4495 | native cross tools such as ``autoconf-native``, ``automake-native``, | ||
4496 | ``libtool-native``, ``libtool-cross`` are added to :term:`DEPENDS` to | ||
4497 | support the ``autotools`` build process. | ||
4498 | |||
4499 | To prevent the build system from adding these dependencies automatically, | ||
4500 | set the :term:`INHIBIT_AUTOTOOLS_DEPS` variable as follows:: | ||
4501 | |||
4502 | INHIBIT_AUTOTOOLS_DEPS = "1" | ||
4503 | |||
4504 | By default, the value of :term:`INHIBIT_AUTOTOOLS_DEPS` is empty. Setting | ||
4505 | it to "0" does not disable inhibition. Only the empty string will disable | ||
4506 | inhibition. | ||
4507 | |||
4490 | :term:`INHIBIT_DEFAULT_DEPS` | 4508 | :term:`INHIBIT_DEFAULT_DEPS` |
4491 | Prevents the default dependencies, namely the C compiler and standard | 4509 | Prevents the default dependencies, namely the C compiler and standard |
4492 | C library (libc), from being added to :term:`DEPENDS`. | 4510 | C library (libc), from being added to :term:`DEPENDS`. |