Received: from cpanel8.indieserve.net (cpanel8.indieserve.net [199.212.143.3]) by mx.groups.io with SMTP id smtpd.web09.7773.1619879322942796818 for ; Sat, 01 May 2021 07:28:43 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: crashcourse.ca, ip: 199.212.143.3, mailfrom: rpjday@crashcourse.ca) Received: from cpef81d0f814063-cmf81d0f814060.cpe.net.cable.rogers.com ([174.114.57.56]:58928 helo=fedora) by cpanel8.indieserve.net with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94) (envelope-from ) id 1lcqbr-0007v4-0G for docs@lists.yoctoproject.org; Sat, 01 May 2021 10:28:42 -0400 Date: Sat, 1 May 2021 10:28:38 -0400 (EDT) From: "Robert P. J. Day" To: YP docs mailing list Subject: [PATCH] ref-manual: add that "work-shared" has kernel stuff Message-ID: <3e51e58e-2e1f-d3a5-465b-52ca6bcdc3ff@crashcourse.ca> MIME-Version: 1.0 X-OutGoing-Spam-Status: No, score=-0.2 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cpanel8.indieserve.net X-AntiAbuse: Original Domain - lists.yoctoproject.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - crashcourse.ca X-Get-Message-Sender-Via: cpanel8.indieserve.net: authenticated_id: rpjday+crashcourse.ca/only user confirmed/virtual account not confirmed X-Authenticated-Sender: cpanel8.indieserve.net: rpjday@crashcourse.ca X-Source: X-Source-Args: X-Source-Dir: Content-Type: text/plain; charset=US-ASCII Clarify that the /tmp/work-shared directory contains kernel-related content in addition to gcc stuff. Signed-off-by: Robert P. J. Day --- diff --git a/documentation/ref-manual/structure.rst b/documentation/ref-manual/structure.rst index f8dc7d282..cbfc6bfbe 100644 --- a/documentation/ref-manual/structure.rst +++ b/documentation/ref-manual/structure.rst @@ -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: -- ======================================================================== Robert P. J. Day Ottawa, Ontario, CANADA http://crashcourse.ca LinkedIn: http://ca.linkedin.com/in/rpjday ========================================================================