From 0ed81805f49f085315f3bcebab9df512c1cafc6b Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Wed, 20 Nov 2013 10:36:05 -0800 Subject: ref-manual: Updated to *_FEATURES variables. I updated the MACHINE_FEATURES, DISTRO_FEATURES, and COMBINED_FEATURES variable descriptions to better reflect what they actually do. Also, fixed two occurences of IrDA in the features lists section. (From yocto-docs rev: 89e40a2f309eacec37fc63c2ef0d4cd440722b2f) Signed-off-by: Scott Rifenbark Signed-off-by: Richard Purdie --- documentation/ref-manual/ref-variables.xml | 71 ++++++++++++++++++++++-------- 1 file changed, 53 insertions(+), 18 deletions(-) (limited to 'documentation/ref-manual/ref-variables.xml') diff --git a/documentation/ref-manual/ref-variables.xml b/documentation/ref-manual/ref-variables.xml index 43898e158c..cb8d9a5b39 100644 --- a/documentation/ref-manual/ref-variables.xml +++ b/documentation/ref-manual/ref-variables.xml @@ -917,10 +917,27 @@ COMBINED_FEATURES - A set of features common between + + Provides a list of hardware features that are enabled in + both MACHINE_FEATURES - and DISTRO_FEATURES. - See the glossary descriptions for these variables for more information. + and + DISTRO_FEATURES. + This select list of features is a list features that make + sense to be controlled both at the machine and distribution + configuration level. + For example, the "bluetooth" feature requires hardware + support but should also be optional at the distribution + level, in case the hardware supports Bluetooth but you + do not ever intend to use it. + + + + For more information, see the + MACHINE_FEATURES + and DISTRO_FEATURES + variables. + @@ -1306,10 +1323,25 @@ DISTRO_FEATURES - The features enabled for the distribution. - For a list of supported features that ship with the - Yocto Project, see the - "Distro" + + The software support you want in your distribution for + various features. + In most cases, the presence or absence of a feature in + DISTRO_FEATURES is translated to the + appropriate option supplied to the configure script + during do_configure for recipes that + optionally support the feature. + For example, specifying x11 in + DISTRO_FEATURES, causes + every piece of software built for the target that can + optionally support X11 to have its X11 support enabled. + + + + Two more examples are Bluetooth and NFS support. + For a more complete features that ship with the Yocto + Project that you can provide using this variable, see the + "Distro Features" section. @@ -3344,20 +3376,23 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3" MACHINE_FEATURES - Specifies the list of hardware features the - MACHINE supports. - For example, including the "bluetooth" feature causes the - bluez bluetooth daemon to be built and - added to the image. - It also causes the connman recipe - to look at MACHINE_FEATURES and when it - finds "bluetooth" there it enables the bluetooth - support in ConnMan. + + Specifies the list of hardware features the + MACHINE is capable + of supporting. + For related information on enabling features, see the + DISTRO_FEATURES, + COMBINED_FEATURES, + and + IMAGE_FEATURES + variables. - For a list of features supported by the Yocto Project as shipped, - see the "Machine" section. + For a list of hardware features supported by the Yocto + Project as shipped, see the + "Machine Features" + section. -- cgit v1.2.3-54-g00ecf