From fcb84b0baf0c2d0b2ac3a0073c3d37492b2fff58 Mon Sep 17 00:00:00 2001 From: Alper Ak Date: Mon, 19 May 2025 15:28:25 +0300 Subject: ref-manual/variables.rst: document INHIBIT_AUTOTOOLS_DEPS Fix [YOCTO #15756] (From yocto-docs rev: 18a2686b530ae428103653450d8963d38dcdef46) Signed-off-by: Alper Ak Reviewed-by: Quentin Schulz Signed-off-by: Antonin Godard Signed-off-by: Richard Purdie --- documentation/ref-manual/variables.rst | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'documentation/ref-manual/variables.rst') 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. INHERIT_DISTRO ?= "debian devshell sstate license remove-libtool create-spdx" + :term:`INHIBIT_AUTOTOOLS_DEPS` + Prevents the :ref:`ref-classes-autotools` class from automatically adding + its default build-time dependencies. + + When a recipe inherits the :ref:`ref-classes-autotools` class, several + native cross tools such as ``autoconf-native``, ``automake-native``, + ``libtool-native``, ``libtool-cross`` are added to :term:`DEPENDS` to + support the ``autotools`` build process. + + To prevent the build system from adding these dependencies automatically, + set the :term:`INHIBIT_AUTOTOOLS_DEPS` variable as follows:: + + INHIBIT_AUTOTOOLS_DEPS = "1" + + By default, the value of :term:`INHIBIT_AUTOTOOLS_DEPS` is empty. Setting + it to "0" does not disable inhibition. Only the empty string will disable + inhibition. + :term:`INHIBIT_DEFAULT_DEPS` Prevents the default dependencies, namely the C compiler and standard C library (libc), from being added to :term:`DEPENDS`. -- cgit v1.2.3-54-g00ecf