From 2cf2a95adb0900c0947322174e4ab63df4c5061f Mon Sep 17 00:00:00 2001 From: "Robert P. J. Day" Date: Wed, 29 Oct 2025 06:32:09 -0400 Subject: [PATCH] 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: d7ef362307daf2e8d9b62ec895e080654abfef8b) Signed-off-by: Robert P. J. Day Reviewed-by: Quentin Schulz Signed-off-by: Antonin Godard (cherry picked from commit ed7c0766ef5f13b90943a69e64f8e8713d05e864) Signed-off-by: Antonin Godard Signed-off-by: Steve Sakoman --- documentation/dev-manual/new-recipe.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/documentation/dev-manual/new-recipe.rst b/documentation/dev-manual/new-recipe.rst index 4b19e77ea8..f48a09778f 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. 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 -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 top-level folder named ``poky``, a default :term:`Build Directory` at