[bootlin/training-materials updates] master: yocto-recipe-basics: mention S and B too (8e217f2e)

Luca Ceresoli luca at lucaceresoli.net
Fri Mar 11 11:43:06 CET 2022


Repository : https://github.com/bootlin/training-materials
On branch  : master
Link       : https://github.com/bootlin/training-materials/commit/8e217f2e54e948121d9d31bdb5a3fed60f528bb9

>---------------------------------------------------------------

commit 8e217f2e54e948121d9d31bdb5a3fed60f528bb9
Author: Luca Ceresoli <luca at lucaceresoli.net>
Date:   Fri Mar 11 11:34:21 2022 +0100

    yocto-recipe-basics: mention S and B too
    
    S and B are important variables, e.g. whenever a package needs a custom
    do_compile(), so mention them.
    
    Also move WORKDIR at the top as it logically is the "entry point" to the
    other directories.
    
    Signed-off-by: Luca Ceresoli <luca at lucaceresoli.net>


>---------------------------------------------------------------

8e217f2e54e948121d9d31bdb5a3fed60f528bb9
 slides/yocto-recipe-basics/yocto-recipe-basics.tex | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/slides/yocto-recipe-basics/yocto-recipe-basics.tex b/slides/yocto-recipe-basics/yocto-recipe-basics.tex
index 2782b858..521aeae8 100644
--- a/slides/yocto-recipe-basics/yocto-recipe-basics.tex
+++ b/slides/yocto-recipe-basics/yocto-recipe-basics.tex
@@ -299,9 +299,12 @@ LIC_FILES_CHKSUM =  \
     \item Functions use the sh shell syntax, with available
       OpenEmbedded variables and internal functions available.
       \begin{description}
+        \item[WORKDIR] the recipe's working directory
+        \item[S] The directory where the source code is extracted
+        \item[B] The directory where bitbake places the objects
+          generated during the build
         \item[D] The destination directory (root directory of where
           the files are installed, before creating the image).
-        \item[WORKDIR] the recipe's working directory
       \end{description}
     \item Syntax of a task:
   \end{itemize}




More information about the training-materials-updates mailing list