[FE training-materials-updates] yocto: slides: add a part about variable flags

Antoine Ténart antoine.tenart at free-electrons.com
Wed Sep 7 10:43:23 CEST 2016


Repository : git://git.free-electrons.com/training-materials.git
On branch  : master
Link       : http://git.free-electrons.com/training-materials/commit/?id=8ecd1fbe030b07f3a1f3e2cc8d6b31222aa4408a

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

commit 8ecd1fbe030b07f3a1f3e2cc8d6b31222aa4408a
Author: Antoine Tenart <antoine.tenart at free-electrons.com>
Date:   Wed Sep 7 10:43:23 2016 +0200

    yocto: slides: add a part about variable flags
    
    Signed-off-by: Antoine Tenart <antoine.tenart at free-electrons.com>


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

8ecd1fbe030b07f3a1f3e2cc8d6b31222aa4408a
 slides/yocto-recipe-extra/yocto-recipe-extra.tex | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/slides/yocto-recipe-extra/yocto-recipe-extra.tex b/slides/yocto-recipe-extra/yocto-recipe-extra.tex
index 0d84d56..bf2bc67 100644
--- a/slides/yocto-recipe-extra/yocto-recipe-extra.tex
+++ b/slides/yocto-recipe-extra/yocto-recipe-extra.tex
@@ -169,6 +169,29 @@ python do_settime() {
   \end{minted}
 \end{frame}
 
+\subsection{Variable flags}
+
+\begin{frame}[fragile]
+  \frametitle{Variable flags}
+  \begin{itemize}
+    \item {\em Variable flags} are used to control task
+      functionalities.
+    \item A number of these tasks are already used by BitBake:
+      \begin{itemize}
+        \item \code{dirs}: directories that should be created before the
+          task runs. The last one becomes the work directory for the
+          task.
+        \item \code{noexec}: disable the execution of the task.
+        \item \code{nostamp}: do not create a {\em stamp} file when
+          running the task. The task will always be executed.
+      \end{itemize}
+  \end{itemize}
+  \begin{minted}{sh}
+do_settime[noexec] = "1"
+do_compile[nostamp] = "1"
+  \end{minted}
+\end{frame}
+
 \subsection{Root filesystem creation}
 
 \begin{frame}[fragile]




More information about the training-materials-updates mailing list