From e6ed5a6804c22bf9b299b3e0ab6acb679942e717 Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Mon, 13 Feb 2017 18:51:11 -0800 Subject: ref-manual: Added five "COPYLEFT*" variables to the glossary. Fixes [YOCTO #11021] The "Maintaining Open Source License Compliance During Your Product's Lifecycle" section in the dev manual covers use of archiver.bbclass, but is missing mention of the filtering options (e.g COPYLEFT_LICENSE_INCLUDE, COPYLEFT_LICENSE_EXCLUDE and COPYLEFT_RECIPE_TYPES). I added descriptions for these three. During the write-up, Paul noticed a couple other variables missing: COPYLEFT_PN_INCLUDE and COPYLEFT_PN_EXCLUDE. I also added descriptions for these two variables. (From yocto-docs rev: 450311037ea3048d30057c0b9d294efd33db2d3c) Signed-off-by: Scott Rifenbark Signed-off-by: Richard Purdie --- documentation/ref-manual/ref-variables.xml | 155 +++++++++++++++++++++++++++++ 1 file changed, 155 insertions(+) (limited to 'documentation') diff --git a/documentation/ref-manual/ref-variables.xml b/documentation/ref-manual/ref-variables.xml index f79cdd2b76..fb293d7556 100644 --- a/documentation/ref-manual/ref-variables.xml +++ b/documentation/ref-manual/ref-variables.xml @@ -2364,6 +2364,161 @@ + COPYLEFT_LICENSE_EXCLUDE + + COPYLEFT_LICENSE_EXCLUDE[doc] = "Licenses to exclude in the source archived by the archiver class." + + + + + A space-separated list of licenses to exclude from the + source archived by the + archiver + class. + In other words, if a license in a recipe's + LICENSE + value is in the value of + COPYLEFT_LICENSE_EXCLUDE, then its + source is not archived by the class. + + The COPYLEFT_LICENSE_EXCLUDE + variable takes precedence over the + COPYLEFT_LICENSE_INCLUDE + variable. + + The default value, which is "CLOSED Proprietary", for + COPYLEFT_LICENSE_EXCLUDE is set + by the + copyleft_filter + class, which is inherited by the + archiver class. + + + + + COPYLEFT_LICENSE_INCLUDE + + COPYLEFT_LICENSE_INCLUDE[doc] = "Licenses to include in the source archived by the archiver class." + + + + + A space-separated list of licenses to include in the + source archived by the + archiver + class. + In other words, if a license in a recipe's + LICENSE + value is in the value of + COPYLEFT_LICENSE_INCLUDE, then its + source is archived by the class. + + + + The default value, which is "GPL* LGPL*", for + COPYLEFT_LICENSE_INCLUDE is set + by the + copyleft_filter + class, which is inherited by the + archiver class. + + + + + COPYLEFT_PN_EXCLUDE + + COPYLEFT_PN_EXCLUDE[doc] = "Recipes to exclude in the source archived by the archiver class." + + + + + A list of recipes to exclude in the source archived + by the + archiver + class. + The COPYLEFT_PN_EXCLUDE variable + overrides the license inclusion and exclusion caused + through the + COPYLEFT_LICENSE_INCLUDE + and + COPYLEFT_LICENSE_EXCLUDE + variables, respectively. + + + + The default value, which is "" indicating to not explicitly + exclude any recipes by name, for + COPYLEFT_PN_EXCLUDE is set + by the + copyleft_filter + class, which is inherited by the + archiver class. + + + + + COPYLEFT_PN_INCLUDE + + COPYLEFT_PN_INCLUDE[doc] = "Recipes to include in the source archived by the archiver class." + + + + + A list of recipes to include in the source archived + by the + archiver + class. + The COPYLEFT_PN_INCLUDE variable + overrides the license inclusion and exclusion caused + through the + COPYLEFT_LICENSE_INCLUDE + and + COPYLEFT_LICENSE_EXCLUDE + variables, respectively. + + + + The default value, which is "" indicating to not explicitly + include any recipes by name, for + COPYLEFT_PN_INCLUDE is set + by the + copyleft_filter + class, which is inherited by the + archiver class. + + + + + COPYLEFT_RECIPE_TYPES + + COPYLEFT_RECIPE_TYPES[doc] = "Recipe types to include in the source archived by the archiver class." + + + + + A space-separated list of recipe types to include + in the source archived by the + archiver + class. + Recipe types are target, + native, + nativesdk, + cross, + crosssdk, and + cross-canadian. + + + + The default value, which is "target*", for + COPYLEFT_RECIPE_TYPES is set + by the + copyleft_filter + class, which is inherited by the + archiver class. + + + + COPY_LIC_DIRS COPY_LIC_DIRS[doc] = "If set to "1" along with the COPY_LIC_MANIFEST variable, the OpenEmbedded build system copies into the image the license files, which are located in /usr/share/common-licenses, for each package." -- cgit v1.2.3-54-g00ecf