summaryrefslogtreecommitdiffstats
path: root/documentation
diff options
context:
space:
mode:
authorAlper Ak <alperyasinak1@gmail.com>2025-05-19 15:28:25 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2025-05-26 13:02:49 +0100
commitfcb84b0baf0c2d0b2ac3a0073c3d37492b2fff58 (patch)
tree6dcb169016d2eb70de098ff67550998b77a2bc06 /documentation
parentcaea04becc791316498275f957af9ab28012eea3 (diff)
downloadpoky-fcb84b0baf0c2d0b2ac3a0073c3d37492b2fff58.tar.gz
ref-manual/variables.rst: document INHIBIT_AUTOTOOLS_DEPS
Fix [YOCTO #15756] (From yocto-docs rev: 18a2686b530ae428103653450d8963d38dcdef46) Signed-off-by: Alper Ak <alperyasinak1@gmail.com> Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de> 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.rst18
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`.