diff options
author | Scott Rifenbark <scott.m.rifenbark@intel.com> | 2012-10-19 08:51:07 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-10-19 17:38:53 +0100 |
commit | 07884bdfffe9ab581685819022cc270524c1842b (patch) | |
tree | ce91de05cc306185c93ce57d3dfa70670f35b706 | |
parent | bff24c5a6a4188fbd0bd835cdf373542c296e2d2 (diff) | |
download | 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>
-rw-r--r-- | documentation/poky-ref-manual/ref-variables.xml | 34 |
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 | & (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 & 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 | ||