diff --git a/documentation/ref-manual/ref-variables.xml b/documentation/ref-manual/ref-variables.xml index 49aea7a147..8c7d7d436d 100644 --- a/documentation/ref-manual/ref-variables.xml +++ b/documentation/ref-manual/ref-variables.xml @@ -7129,6 +7129,39 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3" + LICENSE_CREATE_PACKAGE + + LICENSE_CREATE_PACKAGE[doc] = "Creates an extra package (i.e. ${PN}-lic) for each recipe and adds that package to the RRECOMMENDS+${PN}." + + + + + Setting LICENSE_CREATE_PACKAGE + to "1" causes the OpenEmbedded build system to create + an extra package (i.e. + ${PN}-lic) + for each recipe and to add those packages to the + RRECOMMENDS_${PN}. + + + + The ${PN}-lic package installs a + directory in /usr/share-licenses + named ${PN}, which is the recipe's + base name, and installs files in that directory that + contain license and copyright information (i.e. copies of + the appropriate license files from + meta/common-licenses that match the + licenses specified in the + LICENSE + variable of the recipe metadata and copies of files marked + in + LIC_FILES_CHKSUM + as containing license text). + + + + LICENSE_FLAGS LICENSE_FLAGS[doc] = "Specifies additional flags for a recipe you must whitelist through LICENSE_FLAGS_WHITELIST in order to allow the recipe to be built."