summaryrefslogtreecommitdiffstats
path: root/documentation
diff options
context:
space:
mode:
authorScott Rifenbark <scott.m.rifenbark@intel.com>2012-10-19 08:51:07 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-10-19 17:38:53 +0100
commit07884bdfffe9ab581685819022cc270524c1842b (patch)
treece91de05cc306185c93ce57d3dfa70670f35b706 /documentation
parentbff24c5a6a4188fbd0bd835cdf373542c296e2d2 (diff)
downloadast2050-yocto-poky-07884bdfffe9ab581685819022cc270524c1842b.zip
ast2050-yocto-poky-07884bdfffe9ab581685819022cc270524c1842b.tar.gz
documenation: poky-ref-manual - updates to the LICENSE variable.
(From yocto-docs rev: 68bb94ccb879401d65e652746f138a139eaa0ca4) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation')
-rw-r--r--documentation/poky-ref-manual/ref-variables.xml34
1 files changed, 33 insertions, 1 deletions
diff --git a/documentation/poky-ref-manual/ref-variables.xml b/documentation/poky-ref-manual/ref-variables.xml
index ca3d87c..ec1f6cb 100644
--- a/documentation/poky-ref-manual/ref-variables.xml
+++ b/documentation/poky-ref-manual/ref-variables.xml
@@ -1407,7 +1407,39 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3"
<glossentry id='var-LICENSE'><glossterm>LICENSE</glossterm>
<glossdef>
- <para>The list of package source licenses.</para>
+ <para>
+ The list of source licenses for the recipe.
+ Follow these rules:
+ <itemizedlist>
+ <listitem><para>Do not use spaces within individual
+ license names.</para></listitem>
+ <listitem><para>Separate license names using
+ | (pipe) when there is a choice between licenses.
+ </para></listitem>
+ <listitem><para>Separate license names using
+ &amp; (ampersand) when multiple licenses exist
+ that cover different parts of the source.
+ </para></listitem>
+ <listitem><para>You can use spaces between license
+ names.</para></listitem>
+ </itemizedlist>
+ </para>
+
+ <para>
+ Here are some examples:
+ <literallayout class='monospaced'>
+ LICENSE = "LGPLv2.1 | GPLv3"
+ LICENSE = "MPL-1 &amp; LGPLv2.1"
+ LICENSE = "GPLv2+"
+ </literallayout>
+ The first example is from the recipes for Qt, which the user
+ may choose to distribute under either the LGPL version
+ 2.1 or GPL version 3.
+ The second example is from Cairo where two licenses cover
+ different parts of the source code.
+ The final example is from <filename>sysstat</filename>,
+ which presents a single license.
+ </para>
</glossdef>
</glossentry>
OpenPOWER on IntegriCloud