mirror of
https://git.yoctoproject.org/poky
synced 2026-06-03 01:40:07 +00:00
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>
This commit is contained in:
committed by
Steve Sakoman
parent
d6fd50a616
commit
e1453702a5
@@ -219,9 +219,9 @@ compilation and packaging files, and so forth.
|
|||||||
|
|
||||||
The path to the per-recipe temporary work directory depends on the
|
The path to the per-recipe temporary work directory depends on the
|
||||||
context in which it is being built. The quickest way to find this path
|
context in which it is being built. The quickest way to find this path
|
||||||
is to have BitBake return it by running the following::
|
is to use the ``bitbake-getvar`` utility::
|
||||||
|
|
||||||
$ bitbake -e basename | grep ^WORKDIR=
|
$ bitbake-getvar -r basename WORKDIR
|
||||||
|
|
||||||
As an example, assume a Source Directory
|
As an example, assume a Source Directory
|
||||||
top-level folder named ``poky``, a default :term:`Build Directory` at
|
top-level folder named ``poky``, a default :term:`Build Directory` at
|
||||||
|
|||||||
Reference in New Issue
Block a user