[bootlin/training-materials updates] master: yocto: slides: improve varflags examples (00be8299)
Luca Ceresoli
luca.ceresoli at bootlin.com
Thu Aug 18 10:19:09 CEST 2022
Repository : https://github.com/bootlin/training-materials
On branch : master
Link : https://github.com/bootlin/training-materials/commit/00be8299f93384b74acaa4a951d938fb6f6ac549
>---------------------------------------------------------------
commit 00be8299f93384b74acaa4a951d938fb6f6ac549
Author: Luca Ceresoli <luca.ceresoli at bootlin.com>
Date: Wed Aug 17 12:33:32 2022 +0200
yocto: slides: improve varflags examples
Add a SRC_URI[md5sum] example for two reasons: make it clear that varflags
apply also to variables (not only tasks) and as a hint for the speaker to
mention "we've already seen a varflag usage".
Change the "nostamp" example to something where "nostamp" makes sense, such
as do_menuconfig.
Signed-off-by: Luca Ceresoli <luca.ceresoli at bootlin.com>
>---------------------------------------------------------------
00be8299f93384b74acaa4a951d938fb6f6ac549
slides/yocto-recipe-extra/yocto-recipe-extra.tex | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/slides/yocto-recipe-extra/yocto-recipe-extra.tex b/slides/yocto-recipe-extra/yocto-recipe-extra.tex
index d95a47e4..89cb65d4 100644
--- a/slides/yocto-recipe-extra/yocto-recipe-extra.tex
+++ b/slides/yocto-recipe-extra/yocto-recipe-extra.tex
@@ -7,6 +7,9 @@
\begin{itemize}
\item {\em Variable flags} are used to store extra information on
tasks and variables.
+ \begin{minted}{sh}
+SRC_URI[md5sum] = "97b2c3fb082241ab5c56ab728522622b"
+ \end{minted}
\item They are used to control task functionalities.
\item A number of these flags are already used by BitBake:
\begin{itemize}
@@ -21,8 +24,8 @@
\end{itemize}
\end{itemize}
\begin{minted}{sh}
+do_menuconfig[nostamp] = "1"
do_settime[noexec] = "1"
-do_compile[nostamp] = "1"
do_settime[doc] = "Set the current time in ${TIME}"
\end{minted}
\end{frame}
More information about the training-materials-updates
mailing list