From 8d0d487a12924017724d7c5a8d423b2b7536975a Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Tue, 1 Jul 2014 09:52:29 +0300 Subject: ref-manual, bsp-guide: Added cross-references for two variables. Added several cross-link references for the LICENSE_FLAGS and LICENSE_FLAGS_WHITELIST variables. Note that the cross-references previously put in for LICENSE_FLAGS were slightly wrong as they were using the tag instead of the tag. (From yocto-docs rev: dc2769c63d24d3650c993cfd48bcb4540ad36ca2) Signed-off-by: Scott Rifenbark Signed-off-by: Richard Purdie --- documentation/bsp-guide/bsp.xml | 2 +- documentation/ref-manual/technical-details.xml | 13 +++++++------ 2 files changed, 8 insertions(+), 7 deletions(-) (limited to 'documentation') diff --git a/documentation/bsp-guide/bsp.xml b/documentation/bsp-guide/bsp.xml index 26434c7c09..fd143ede14 100644 --- a/documentation/bsp-guide/bsp.xml +++ b/documentation/bsp-guide/bsp.xml @@ -1009,7 +1009,7 @@ For each of those recipes, you can specify a matching license string in a local.conf variable named - LICENSE_FLAGS_WHITELIST. + LICENSE_FLAGS_WHITELIST. Specifying the matching license string signifies that you agree to the license. Thus, the build system can build the corresponding recipe and include the component in the image. diff --git a/documentation/ref-manual/technical-details.xml b/documentation/ref-manual/technical-details.xml index 446e9ed7c3..b0588351d5 100644 --- a/documentation/ref-manual/technical-details.xml +++ b/documentation/ref-manual/technical-details.xml @@ -1208,7 +1208,7 @@ requirements. Such requirements are defined on a recipe-by-recipe basis through the - LICENSE_FLAGS + LICENSE_FLAGS variable definition in the affected recipe. For instance, the poky/meta/recipes-multimedia/gstreamer/gst-plugins-ugly @@ -1224,7 +1224,8 @@ In order for a component restricted by a LICENSE_FLAGS definition to be enabled and included in an image, it needs to have a matching entry in the global - LICENSE_FLAGS_WHITELIST variable, which is a variable + LICENSE_FLAGS_WHITELIST + variable, which is a variable typically defined in your local.conf file. For example, to enable the poky/meta/recipes-multimedia/gstreamer/gst-plugins-ugly @@ -1270,10 +1271,10 @@ License flag matching allows you to control what recipes the OpenEmbedded build system includes in the build. Fundamentally, the build system attempts to match - LICENSE_FLAGS + LICENSE_FLAGS strings found in recipes against - LICENSE_FLAGS_WHITELIST strings found in - the whitelist. + LICENSE_FLAGS_WHITELIST + strings found in the whitelist. A match causes the build system to include a recipe in the build, while failure to find a match causes the build system to exclude a recipe. @@ -1396,7 +1397,7 @@ for those components using the more general "commercial" in the whitelist, but that would also enable all the other packages with - LICENSE_FLAGS + LICENSE_FLAGS containing "commercial", which you may or may not want: LICENSE_FLAGS_WHITELIST = "commercial" -- cgit v1.2.3-54-g00ecf