From a15b641c1c3b71f92c2636c9fa08c8f5d010f6b9 Mon Sep 17 00:00:00 2001 From: Paul Eggleton Date: Wed, 10 Oct 2012 14:38:35 -0700 Subject: documentation: poky-ref-manual - New backfill variables and section. Document DISTRO_FEATURES_BACKFILL and MACHINE_FEATURES_BACKFILL. We may wish to expand upon this in future, but at least this explains what these variables are for and how to use them. Also add a link from the DISTRO_FEATURES entry to the section that lists valid DISTRO_FEATURES items. (From yocto-docs rev: 018af5c28b44464ae66646780ade910bdcab2bef) Signed-off-by: Scott Rifenbark Signed-off-by: Richard Purdie --- documentation/poky-ref-manual/ref-features.xml | 55 +++++++++++++++++++++++++ documentation/poky-ref-manual/ref-variables.xml | 54 +++++++++++++++++++++++- 2 files changed, 108 insertions(+), 1 deletion(-) (limited to 'documentation/poky-ref-manual') diff --git a/documentation/poky-ref-manual/ref-features.xml b/documentation/poky-ref-manual/ref-features.xml index 159d56dabc..c42a4fd807 100644 --- a/documentation/poky-ref-manual/ref-features.xml +++ b/documentation/poky-ref-manual/ref-features.xml @@ -171,6 +171,61 @@ + +
+ Feature Backfilling + + + Sometimes, it is necessary for a new feature to be added to control existing + functionality that was previously enabled by default and not able to be disabled. + In order to ensure that the feature remains enabled for users with existing + configurations that upgrade to a new version of the core metadata without that + configuration having to be changed, while still allowing others who want to turn + the feature off to do so, the backfilling mechanism was introduced. + This + functionality is available for DISTRO_FEATURES + and MACHINE_FEATURES. + + + + An example is the "pulseaudio" distro feature. + Previously, PulseAudio support + was enabled within the Qt and GStreamer frameworks. + However some users desired + to be able to disable this. + To allow this to be disabled without affecting + existing configurations in which PulseAudio support should remain enabled, + "pulseaudio" was added to + DISTRO_FEATURES_BACKFILL + within meta/conf/bitbake.conf. + This means that "pulseaudio" + is automatically added to DISTRO_FEATURES without the distro + configuration needing to be updated to do so itself. + Those who do not want PulseAudio support can add "pulseaudio" to + DISTRO_FEATURES_BACKFILL_CONSIDERED + in their distro .conf file and this will disable adding "pulseaudio" to + DISTRO_FEATURES. + + + + Another example is the "rtc" machine feature. + Previously, real time clock (RTC) + support was enabled for all target devices. + However certain targets do not have + this capability. + To allow this to be disabled by such machines without affecting + other machines in which RTC support should remain enabled, "rtc" was added to + MACHINE_FEATURES_BACKFILL + within meta/conf/bitbake.conf. + This means that "rtc" + is automatically added to MACHINE_FEATURES without the + machine configuration needing to be updated to do so itself. + For machines that not need RTC support can add "rtc" to + MACHINE_FEATURES_BACKFILL_CONSIDERED + in their machine .conf file and this will disable adding "rtc" to + MACHINE_FEATURES. + +