summaryrefslogtreecommitdiffstats
path: root/documentation
diff options
context:
space:
mode:
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 ca3d87cfd2..ec1f6cbd28 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