From 68bd063fb96f9190885d305d0141c0a66c77662b Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Tue, 1 Jul 2014 09:26:12 +0300 Subject: [PATCH] ref-manual, bsp-guide: Added several cross-references to LICENSE_FLAGS. Needed to add several links to the newly described LICENSE_FLAGS variable in the glossary. Three links added to the ref-manual and a single link added to the BSP Guide. (From yocto-docs rev: 2ca6e556c299814d6ef847ed059a4f0a2d48adb3) Signed-off-by: Scott Rifenbark Signed-off-by: Richard Purdie --- documentation/bsp-guide/bsp.xml | 7 ++++--- documentation/ref-manual/technical-details.xml | 17 ++++++++++------- 2 files changed, 14 insertions(+), 10 deletions(-) diff --git a/documentation/bsp-guide/bsp.xml b/documentation/bsp-guide/bsp.xml index 00d94b2009..26434c7c09 100644 --- a/documentation/bsp-guide/bsp.xml +++ b/documentation/bsp-guide/bsp.xml @@ -1002,9 +1002,10 @@ satisfy the licensing requirements for an encumbered BSP. The following list describes them in order of preference: - Use the LICENSE_FLAGS variable - to define the recipes that have commercial or other types of - specially-licensed packages: + Use the + LICENSE_FLAGS + variable to define the recipes that have commercial or other + types of specially-licensed packages: For each of those recipes, you can specify a matching license string in a local.conf variable named diff --git a/documentation/ref-manual/technical-details.xml b/documentation/ref-manual/technical-details.xml index 8bba42bdd4..446e9ed7c3 100644 --- a/documentation/ref-manual/technical-details.xml +++ b/documentation/ref-manual/technical-details.xml @@ -1207,8 +1207,9 @@ components that have commercial or other special licensing requirements. Such requirements are defined on a - recipe-by-recipe basis through the LICENSE_FLAGS variable - definition in the affected recipe. + recipe-by-recipe basis through the + LICENSE_FLAGS + variable definition in the affected recipe. For instance, the poky/meta/recipes-multimedia/gstreamer/gst-plugins-ugly recipe contains the following statement: @@ -1269,9 +1270,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 strings found in - recipes against LICENSE_FLAGS_WHITELIST - strings found in the whitelist. + LICENSE_FLAGS + strings found in recipes against + 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. @@ -1393,8 +1395,9 @@ Of course, you could also create a matching whitelist for those components using the more general "commercial" in the whitelist, but that would also enable all the - other packages with LICENSE_FLAGS containing - "commercial", which you may or may not want: + other packages with + LICENSE_FLAGS + containing "commercial", which you may or may not want: LICENSE_FLAGS_WHITELIST = "commercial"