From 479fbee8408d1b4d3829377b040f4f1e6457b418 Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Fri, 18 Nov 2016 14:34:46 -0800 Subject: ref-manual, dev-manual: Added references to SYSROOT_DIRS Fixes [YOCTO #10692] I updated the STAGING_DIR variable description to have a reference to the SYSROOT_DIRS variable as well as the "Sharing Files Between Recipes" section of the dev-manual. I also updated the "Sharing Files Between Recipes" section so that the role of SYSROOT_DIRS is explained and actually used in an example to add another directory. (From yocto-docs rev: 6539fcf632cfa3f076f874535ee9fc7ac291fbce) Signed-off-by: Scott Rifenbark Signed-off-by: Richard Purdie --- documentation/ref-manual/ref-variables.xml | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'documentation/ref-manual/ref-variables.xml') diff --git a/documentation/ref-manual/ref-variables.xml b/documentation/ref-manual/ref-variables.xml index 9d6fab0c94..af1ed8408b 100644 --- a/documentation/ref-manual/ref-variables.xml +++ b/documentation/ref-manual/ref-variables.xml @@ -12692,9 +12692,22 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3" Specifies the path to the top-level sysroots directory (i.e. ${TMPDIR}/sysroots). + + + + STAGING_DIR contains the directories + that are staged into the sysroot by the + do_populate_sysroot + task. + See the + SYSROOT_DIRS + variable and the + "Sharing Files Between Recipes" + section for more information. Recipes should never write files directly under - this directory because the OpenEmbedded build system + the STAGING_DIR directory because + the OpenEmbedded build system manages the directory automatically. Instead, files should be installed to ${D} -- cgit 1.2.3-korg