mirror of
https://git.yoctoproject.org/poky
synced 2026-06-01 00:59:48 +00:00
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>
This commit is contained in:
@@ -4487,6 +4487,24 @@ system and gives an overview of their function and contents.
|
|||||||
|
|
||||||
INHERIT_DISTRO ?= "debian devshell sstate license remove-libtool create-spdx"
|
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`
|
:term:`INHIBIT_DEFAULT_DEPS`
|
||||||
Prevents the default dependencies, namely the C compiler and standard
|
Prevents the default dependencies, namely the C compiler and standard
|
||||||
C library (libc), from being added to :term:`DEPENDS`.
|
C library (libc), from being added to :term:`DEPENDS`.
|
||||||
|
|||||||
Reference in New Issue
Block a user