From f574b9f0749a8979ce8980608bb5dbb23906f913 Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Mon, 20 Mar 2017 09:31:33 -0700 Subject: dev-manual, ref-manual: Added support for WKS_FILE_DEPENDS variable. Fixes [YOCTO #11017] There is no current way to specify or list plug-in dependencies when building a Wic image. The variable WKS_FILE_DEPENDS was introduced to allow the user to use this in the recipe building the image. I added a description and example of the variable to the ref-manual variable glossary. I also cross-referenced the variable in the "Plug-ins" section of the dev-manual to point to the variable for more information. (From yocto-docs rev: 5a1072499ab80f74ffec6af2cc0b2f1987843a25) Signed-off-by: Scott Rifenbark Signed-off-by: Richard Purdie --- .../dev-manual/dev-manual-common-tasks.xml | 8 ++++ documentation/ref-manual/ref-variables.xml | 44 ++++++++++++++++++++++ 2 files changed, 52 insertions(+) (limited to 'documentation') diff --git a/documentation/dev-manual/dev-manual-common-tasks.xml b/documentation/dev-manual/dev-manual-common-tasks.xml index ca3feb287d..cdcb1ecbc0 100644 --- a/documentation/dev-manual/dev-manual-common-tasks.xml +++ b/documentation/dev-manual/dev-manual-common-tasks.xml @@ -5038,6 +5038,14 @@ --source keyword to a particular plug-in implementation that populates a corresponding partition. + + If you use plug-ins that have build-time dependencies + (e.g. native tools, bootloaders, and so forth) + when building a Wic image, you need to specify those + dependencies using the + WKS_FILE_DEPENDS + variable. + diff --git a/documentation/ref-manual/ref-variables.xml b/documentation/ref-manual/ref-variables.xml index fb293d7556..4a42c5c00e 100644 --- a/documentation/ref-manual/ref-variables.xml +++ b/documentation/ref-manual/ref-variables.xml @@ -15745,6 +15745,50 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3" + WKS_FILE_DEPENDS + + WKS_FILE_DEPENDS[doc] = "Lists a recipe's build-time dependencies specific to Wic." + + + + When placed in the recipe that builds your image, this + variable lists build-time dependencies. + The WKS_FILE_DEPENDS variable is only + applicable when Wic images are active (i.e. when + IMAGE_FSTYPES + contains entries related to Wic). + If your recipe does not create Wic images, the variable + has no effect. + + + + The WKS_FILE_DEPENDS variable is + similar to the + DEPENDS + variable. + When you use the variable in your recipe that builds the + Wic image, dependencies you list in the + WIC_FILE_DEPENDS variable are added to + the DEPENDS variable. + + + + With the WKS_FILE_DEPENDS variable, + you have the possibility to specify a list of additional + dependencies (e.g. native tools, bootloaders, and so forth), + that are required to build Wic images. + Following is an example: + + WKS_FILE_DEPENDS = "some-native-tool" + + In the previous example, + some-native-tool would be + replaced with an actual native tool on which the build + would depend. + + + + WKS_FILE WKS_FILE[doc] = "Specifies the name of the wic kickstart file." -- cgit v1.2.3-54-g00ecf