summaryrefslogtreecommitdiffstats
path: root/documentation
diff options
context:
space:
mode:
authoraatir <aatrapps@gmail.com>2022-06-23 13:37:10 -0400
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-06-27 14:55:08 +0100
commit22a70fbc3e37b9139aa4a4eff6254e9a8444390b (patch)
tree660002ac94526616f3d5df96740028c904b57104 /documentation
parent17d0d15be11306c9acdff74bde3ae0029c7bd2d4 (diff)
downloadpoky-22a70fbc3e37b9139aa4a4eff6254e9a8444390b.tar.gz
docs: make DISTRO_FEATURES description more explicit
Make DISTRO_FEATURES description more explicit by specifying that DISTRO_FEATURES alone can't select build configurations, and need mechanisms like PACKAGECONFIG setup to take care of selecting build configurations. Signed-off-by Aatir Manzur <aatrapps@gmail.com> Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com> (From yocto-docs rev: 4b39a4434ee658512050c50f6ebd5ad5dc900fb1) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation')
-rw-r--r--documentation/ref-manual/features.rst4
-rw-r--r--documentation/ref-manual/variables.rst5
2 files changed, 7 insertions, 2 deletions
diff --git a/documentation/ref-manual/features.rst b/documentation/ref-manual/features.rst
index a8d0dac996..17521ac2a8 100644
--- a/documentation/ref-manual/features.rst
+++ b/documentation/ref-manual/features.rst
@@ -100,7 +100,9 @@ packages, and they can go beyond simply controlling the installation of
100a package or packages. In most cases, the presence or absence of a 100a package or packages. In most cases, the presence or absence of a
101feature translates to the appropriate option supplied to the configure 101feature translates to the appropriate option supplied to the configure
102script during the :ref:`ref-tasks-configure` task for 102script during the :ref:`ref-tasks-configure` task for
103the recipes that optionally support the feature. 103the recipes that optionally support the feature. Appropriate options
104must be supplied, and enabling/disabling :term:`PACKAGECONFIG` for the
105concerned packages is one way of supplying such options.
104 106
105Some distro features are also machine features. These select features 107Some distro features are also machine features. These select features
106make sense to be controlled both at the machine and distribution 108make sense to be controlled both at the machine and distribution
diff --git a/documentation/ref-manual/variables.rst b/documentation/ref-manual/variables.rst
index 28267101d8..603f95d2e4 100644
--- a/documentation/ref-manual/variables.rst
+++ b/documentation/ref-manual/variables.rst
@@ -1873,7 +1873,10 @@ system and gives an overview of their function and contents.
1873 optionally support the feature. For example, specifying "x11" in 1873 optionally support the feature. For example, specifying "x11" in
1874 :term:`DISTRO_FEATURES`, causes every piece of software built for the 1874 :term:`DISTRO_FEATURES`, causes every piece of software built for the
1875 target that can optionally support X11 to have its X11 support 1875 target that can optionally support X11 to have its X11 support
1876 enabled. 1876 enabled. Note: just enabling :term:`DISTRO_FEATURES` alone doesn't
1877 enable feature support for packages, mechanisms such as making
1878 :term:`PACKAGECONFIG` track :term:`DISTRO_FEATURES` are used
1879 to enable/disable package features.
1877 1880
1878 Two more examples are Bluetooth and NFS support. For a more complete 1881 Two more examples are Bluetooth and NFS support. For a more complete
1879 list of features that ships with the Yocto Project and that you can 1882 list of features that ships with the Yocto Project and that you can