Skip to contentSkip to conversation

ref-manual: add that "work-shared" has kernel stuff

PATCH New Robert P. J. Day 1 participant 1 message May 1, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ref-manual: add that "work-shared" has kernel stuff

Clarify that the /tmp/work-shared directory contains kernel-related content in addition to gcc stuff.

---

documentation/ref-manual/structure.rst +9 -2
index f8dc7d282..cbfc6bfbe 100644
@@ -649,8 +649,15 @@ A number of key subdirectories exist within each recipe work directory:
 
 For efficiency, the OpenEmbedded build system creates and uses this
 directory to hold recipes that share a work directory with other
-recipes. In practice, this is only used for ``gcc`` and its variants
-(e.g. ``gcc-cross``, ``libgcc``, ``gcc-runtime``, and so forth).
+recipes. In practice, this is used for two things, the first being
+``gcc`` and its variants (e.g. ``gcc-cross``, ``libgcc``,
+``gcc-runtime``, and so forth).
+
+The second type of content installed under this directory is shareable
+kernel-related content, as defined in ``bitbake.conf``::
+
+   STAGING_KERNEL_DIR = "${TMPDIR}/work-shared/${MACHINE}/kernel-source"
+   STAGING_KERNEL_BUILDDIR = "${TMPDIR}/work-shared/${MACHINE}/kernel-build-artifacts"
 
 .. _structure-meta:
 
Signature · 6 lines
========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                         http://crashcourse.ca

LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================