diff options
| author | Antonin Godard <antonin.godard@bootlin.com> | 2025-12-01 10:55:20 +0100 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2026-01-26 09:41:30 +0000 |
| commit | 8c85aee61cc8a0e00ed0113459d3d001600b525b (patch) | |
| tree | a317d0f48b2a43b5692bfee5db2d6c69e34fe82e /documentation/dev-manual/temporary-source-code.rst | |
| parent | 293549219271ce8bf5d38707f1a3631e2696b3ce (diff) | |
| download | poky-8c85aee61cc8a0e00ed0113459d3d001600b525b.tar.gz | |
dev-manual/temporary-source-code.rst: fix definition of WORKDIR
Fix the definition of WORKDIR to match OE-Core.
Rename the Source Directory to "project" as part of the transition to
bitbake-setup and the removal of Poky as in "the Poky repository".
Reported-by: Robert P. J. Day <rpjday@crashcourse.ca>
(From yocto-docs rev: c1db422b9cba0bc475295bf1c2d72bcb2a6beed9)
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
(cherry picked from commit 9cb0e8a94590563491e210b403519ccfbde866e9)
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/dev-manual/temporary-source-code.rst')
| -rw-r--r-- | documentation/dev-manual/temporary-source-code.rst | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/documentation/dev-manual/temporary-source-code.rst b/documentation/dev-manual/temporary-source-code.rst index 08bf68d982..53bbfec635 100644 --- a/documentation/dev-manual/temporary-source-code.rst +++ b/documentation/dev-manual/temporary-source-code.rst | |||
| @@ -36,11 +36,11 @@ The path to the work directory for the recipe | |||
| 36 | (:term:`WORKDIR`) is defined as | 36 | (:term:`WORKDIR`) is defined as |
| 37 | follows:: | 37 | follows:: |
| 38 | 38 | ||
| 39 | ${TMPDIR}/work/${MULTIMACH_TARGET_SYS}/${PN}/${EXTENDPE}${PV}-${PR} | 39 | ${BASE_WORKDIR}/${MULTIMACH_TARGET_SYS}/${PN}/${PV} |
| 40 | 40 | ||
| 41 | The actual directory depends on several things: | 41 | The actual directory depends on several things: |
| 42 | 42 | ||
| 43 | - :term:`TMPDIR`: The top-level build | 43 | - :term:`BASE_WORKDIR`: The top-level build |
| 44 | output directory. | 44 | output directory. |
| 45 | 45 | ||
| 46 | - :term:`MULTIMACH_TARGET_SYS`: | 46 | - :term:`MULTIMACH_TARGET_SYS`: |
| @@ -48,19 +48,13 @@ The actual directory depends on several things: | |||
| 48 | 48 | ||
| 49 | - :term:`PN`: The recipe name. | 49 | - :term:`PN`: The recipe name. |
| 50 | 50 | ||
| 51 | - :term:`EXTENDPE`: The epoch --- if | ||
| 52 | :term:`PE` is not specified, which is | ||
| 53 | usually the case for most recipes, then :term:`EXTENDPE` is blank. | ||
| 54 | |||
| 55 | - :term:`PV`: The recipe version. | 51 | - :term:`PV`: The recipe version. |
| 56 | 52 | ||
| 57 | - :term:`PR`: The recipe revision. | ||
| 58 | |||
| 59 | As an example, assume a Source Directory top-level folder named | 53 | As an example, assume a Source Directory top-level folder named |
| 60 | ``poky``, a default :term:`Build Directory` at ``poky/build``, and a | 54 | ``project``, a default :term:`Build Directory` at ``project/build``, and a |
| 61 | ``qemux86-poky-linux`` machine target system. Furthermore, suppose your | 55 | ``qemux86-poky-linux`` machine target system. Furthermore, suppose your |
| 62 | recipe is named ``foo_1.3.0.bb``. In this case, the work directory the | 56 | recipe is named ``foo_1.3.0.bb``. In this case, the work directory the |
| 63 | build system uses to build the package would be as follows:: | 57 | build system uses to build the package would be as follows:: |
| 64 | 58 | ||
| 65 | poky/build/tmp/work/qemux86-poky-linux/foo/1.3.0-r0 | 59 | project/build/tmp/work/qemux86-poky-linux/foo/1.3.0 |
| 66 | 60 | ||
