Skip to contentSkip to conversation

ref-manual/variables.rst: document INHIBIT_AUTOTOOLS_DEPS

PATCH Applied Alper Ak 3 participants 3 messages May 19, 2025 – May 27, 2025

lore
Share & tools
lore

Alper Ak

author
#0 lore raw

PATCH v3 1/1 ref-manual/variables.rst: document INHIBIT_AUTOTOOLS_DEPS

Fix [YOCTO #15756]

---
 documentation/ref-manual/variables.rst | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
documentation/ref-manual/variables.rst +15 -0
index 643a3e7ae..bdf17166f 100644
@@ -4487,6 +4487,21 @@ 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`.
Signature · 1 line
2.43.0
#2 lore raw
In reply to Alper Ak
Quoted 3 lines · Alper Ak

Fix [YOCTO #15756]

Applied, thanks!

[1/1] ref-manual/variables.rst: document INHIBIT_AUTOTOOLS_DEPS

      commit: 18a2686b530ae428103653450d8963d38dcdef46

Best regards,

Signature · 1 line
Antonin Godard <[email protected]>