diff options
| author | Robert P. J. Day <rpjday@crashcourse.ca> | 2025-10-29 06:32:09 -0400 |
|---|---|---|
| committer | Steve Sakoman <steve@sakoman.com> | 2025-11-26 07:50:35 -0800 |
| commit | e1453702a57de2b39b42671040cfec6069480a0e (patch) | |
| tree | 88bfca815fe38b9e8c2b29e6abe7aea90c75456c /documentation | |
| parent | d6fd50a6165b51782cf23adece308cbe6dbd22c2 (diff) | |
| download | poky-e1453702a57de2b39b42671040cfec6069480a0e.tar.gz | |
dev-manual/new-recipe.rst: replace 'bitbake -e' with 'bitbake-getvar'
Replace the legacy call to 'bitbake -e' to get the value of a recipe's
variable with the newer call to 'bitbake-getvar'.
(From yocto-docs rev: 042c4cb8c6291be857a672144b573a5eb10f1ead)
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
(cherry picked from commit ed7c0766ef5f13b90943a69e64f8e8713d05e864)
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Diffstat (limited to 'documentation')
| -rw-r--r-- | documentation/dev-manual/new-recipe.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/documentation/dev-manual/new-recipe.rst b/documentation/dev-manual/new-recipe.rst index b97e807ead..c9c5689ecc 100644 --- a/documentation/dev-manual/new-recipe.rst +++ b/documentation/dev-manual/new-recipe.rst | |||
| @@ -219,9 +219,9 @@ compilation and packaging files, and so forth. | |||
| 219 | 219 | ||
| 220 | The path to the per-recipe temporary work directory depends on the | 220 | The path to the per-recipe temporary work directory depends on the |
| 221 | context in which it is being built. The quickest way to find this path | 221 | context in which it is being built. The quickest way to find this path |
| 222 | is to have BitBake return it by running the following:: | 222 | is to use the ``bitbake-getvar`` utility:: |
| 223 | 223 | ||
| 224 | $ bitbake -e basename | grep ^WORKDIR= | 224 | $ bitbake-getvar -r basename WORKDIR |
| 225 | 225 | ||
| 226 | As an example, assume a Source Directory | 226 | As an example, assume a Source Directory |
| 227 | top-level folder named ``poky``, a default :term:`Build Directory` at | 227 | top-level folder named ``poky``, a default :term:`Build Directory` at |
