diff mbox series

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

Message ID 20250519122825.63816-1-alperyasinak1@gmail.com
State Under Review
Headers show
Series [v3] ref-manual/variables.rst: document INHIBIT_AUTOTOOLS_DEPS | expand

Commit Message

Alper Ak May 19, 2025, 12:28 p.m. UTC
Fix [YOCTO #15756]

Signed-off-by: Alper Ak <alperyasinak1@gmail.com>
---
 documentation/ref-manual/variables.rst | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

Comments

Quentin Schulz May 19, 2025, 12:31 p.m. UTC | #1
Hi Alper,

On 5/19/25 2:28 PM, Alper Ak via lists.yoctoproject.org wrote:
> [You don't often get email from alperyasinak1=gmail.com@lists.yoctoproject.org. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ]
> 
> Fix [YOCTO #15756]
> 
> Signed-off-by: Alper Ak <alperyasinak1@gmail.com>

Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>

Thanks!
Quentin
diff mbox series

Patch

diff --git a/documentation/ref-manual/variables.rst b/documentation/ref-manual/variables.rst
index 643a3e7ae..bdf17166f 100644
--- a/documentation/ref-manual/variables.rst
+++ b/documentation/ref-manual/variables.rst
@@ -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`.