From 35655863cad0ebcb78001bafd781e212bdffe4bc Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Tue, 13 Aug 2013 14:43:52 +0300 Subject: ref-manual: Review comments added, new variables added * Updated some links in the insane.bbclass sectioni so they now point to some new variables. * Added glossary descriptions for PKGD, PKGDEST, and INCOMPATIBLE_LICENSE. * Added a paragraph to the LICENSE variable to describe situations where the output might have components whose licensing is from two different licenses (licensing on a per-package basis). (From yocto-docs rev: b8dd3b3d5cb912ed7c5d3c9b6c01d93347e95b84) Signed-off-by: Scott Rifenbark Signed-off-by: Richard Purdie --- documentation/ref-manual/ref-classes.xml | 6 +-- documentation/ref-manual/ref-variables.xml | 75 +++++++++++++++++++++++++++++- 2 files changed, 77 insertions(+), 4 deletions(-) (limited to 'documentation') diff --git a/documentation/ref-manual/ref-classes.xml b/documentation/ref-manual/ref-classes.xml index 42f33e811e..7a5a5ddb58 100644 --- a/documentation/ref-manual/ref-classes.xml +++ b/documentation/ref-manual/ref-classes.xml @@ -648,7 +648,7 @@ incompatible-license: Report when packages are excluded from being created due to being marked with a license that is in - INCOMPATIBLE_LICENSE. + INCOMPATIBLE_LICENSE. compile-host-path: Checks the do_compile log for indications @@ -762,8 +762,8 @@ DEPLOY_DIR, D, PN, and - PKGD) are undefined during - do_package. + PKGD) are + undefined during do_package. pkgv-undefined: Checks to see if the PKGV variable diff --git a/documentation/ref-manual/ref-variables.xml b/documentation/ref-manual/ref-variables.xml index 7b88ffe5ca..099846412b 100644 --- a/documentation/ref-manual/ref-variables.xml +++ b/documentation/ref-manual/ref-variables.xml @@ -1727,7 +1727,7 @@ Core layer for images cannot be removed IMAGE_FSTYPES - Specifes the format of the root filesystem created by + Specifies the format of the root filesystem created by the OpenEmbedded build system. Available formats are a subset of the supported images listed in @@ -2009,6 +2009,33 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3" + INCOMPATIBLE_LICENSE + + + Specifies a space-separated list of license names + (as they would appear in + LICENSE) + that should be excluded from the build. + Recipes that provide no alternatives to listed incompatible + licenses are not built. + Packages that are individually licensed with the specified + incompatible licenses will be deleted. + + + + This functionality is only regularly tested using + the following setting: + + INCOMPATIBLE_LICENSE = "GPLv3" + + Although you can use other settings, you might be required + to remove dependencies on or provide alternatives to + components that are required to produce a functional system + image. + + + + INHIBIT_DEFAULT_DEPS @@ -2583,6 +2610,21 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3" The final example is from sysstat, which presents a single license. + + + You can also specify licenses on a per-package basis to + handle situations where components of the output have + different licenses. + For example, a piece of software whose code is + licensed under GPLv2 but has accompanying documentation + licensed under the GNU Free Documentation License 1.2 could + be specified as follows: + + LICENSE = "GFDL-1.2 & GPLv2" + LICENSE_${PN} = "GPLv2" + LICENSE_${PN}-doc = "GFDL-1.2" + + @@ -3417,6 +3459,37 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3" + PKGD + + + Points to the destination directory for files to be + packaged before they are split into individual packages. + This directory defaults to the following: + + ${WORKDIR}/package + + Do not change this default. + + + + + PKGDEST + + + Points to the parent directory for files to be packaged + after they have been split into individual packages. + This directory defaults to the following: + + ${WORKDIR}/packages-split + + Under this default directory, the build system creates + directories for each package specified in + PACKAGES. + Do not change this default. + + + + PN This variable can have two separate functions depending on the context: a recipe -- cgit v1.2.3-54-g00ecf