summaryrefslogtreecommitdiffstats
path: root/documentation
diff options
context:
space:
mode:
authorScott Rifenbark <scott.m.rifenbark@intel.com>2012-10-19 15:51:07 (GMT)
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-10-19 16:38:58 (GMT)
commit6c3cebfe6ddd0fe3dfaeac78082efeae93049770 (patch)
treeaef8061ef62879095d62268feebccc55489840cf /documentation
parentc7812938cb322e4e114186c479d3a7b5e4fa0a6b (diff)
downloadpoky-6c3cebfe6ddd0fe3dfaeac78082efeae93049770.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"
1407 1407
1408 <glossentry id='var-LICENSE'><glossterm>LICENSE</glossterm> 1408 <glossentry id='var-LICENSE'><glossterm>LICENSE</glossterm>
1409 <glossdef> 1409 <glossdef>
1410 <para>The list of package source licenses.</para> 1410 <para>
1411 The list of source licenses for the recipe.
1412 Follow these rules:
1413 <itemizedlist>
1414 <listitem><para>Do not use spaces within individual
1415 license names.</para></listitem>
1416 <listitem><para>Separate license names using
1417 | (pipe) when there is a choice between licenses.
1418 </para></listitem>
1419 <listitem><para>Separate license names using
1420 &amp; (ampersand) when multiple licenses exist
1421 that cover different parts of the source.
1422 </para></listitem>
1423 <listitem><para>You can use spaces between license
1424 names.</para></listitem>
1425 </itemizedlist>
1426 </para>
1427
1428 <para>
1429 Here are some examples:
1430 <literallayout class='monospaced'>
1431 LICENSE = "LGPLv2.1 | GPLv3"
1432 LICENSE = "MPL-1 &amp; LGPLv2.1"
1433 LICENSE = "GPLv2+"
1434 </literallayout>
1435 The first example is from the recipes for Qt, which the user
1436 may choose to distribute under either the LGPL version
1437 2.1 or GPL version 3.
1438 The second example is from Cairo where two licenses cover
1439 different parts of the source code.
1440 The final example is from <filename>sysstat</filename>,
1441 which presents a single license.
1442 </para>
1411 </glossdef> 1443 </glossdef>
1412 </glossentry> 1444 </glossentry>
1413 1445