ref-manual/variables.rst: document INHIBIT_AUTOTOOLS_DEPS
PATCH v2 1/1 ref-manual/variables.rst: document INHIBIT_AUTOTOOLS_DEPS
Fix [YOCTO #15756]
--- documentation/ref-manual/variables.rst | 14 ++++++++++++++ 1 file changed, 14 insertions(+)
documentation/ref-manual/variables.rst +14 -0
@@ -4487,6 +4487,20 @@ 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. + :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
Hi Alper,
Quoted 14 lines · Alper Ak via lists.yoctoproject.org
[You don't often get email from [email protected]. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ]
Fix [YOCTO #15756]
Signed-off-by Alper Ak <[email protected]>--- documentation/ref-manual/variables.rst | 14 ++++++++++++++ 1 file changed, 14 insertions(+)documentation/ref-manual/variables.rst +0
-0
documentation/ref-manual/variables.rst system and gives an overview of their function and contents. · line 4495
Quoted 9 lines
documentation/ref-manual/variables.rst +6
-0@@ -4487,6 +4487,20 @@ 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.
``autotools``
here maybe?
documentation/ref-manual/variables.rst system and gives an overview of their function and contents. · line 4503
Quoted 8 lines
documentation/ref-manual/variables.rst +8
-0+ + 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. +
Please specify that to NOT inhibit, you need to set it to the empty string (I believe, considering the first line in get_autotools_dep() in meta/classes-recipe/autotools.bbclass). Setting it to 0 is not going to disable the inhibition.
Looks good to me otherwise!
Cheers,
Quentin