[bootlin/training-materials updates] master: Yocto: yocto-advanced: Add slide on overrides and operators (b7a7f13a)

Maxime Chevallier maxime.chevallier at bootlin.com
Fri Oct 22 10:17:42 CEST 2021

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


commit b7a7f13a3cc3015b9e1a373e4352d76325d6d980
Author: Maxime Chevallier <maxime.chevallier at bootlin.com>
Date:   Thu Oct 21 10:31:42 2021 +0200

    Yocto: yocto-advanced: Add slide on overrides and operators
    Signed-off-by: Maxime Chevallier <maxime.chevallier at bootlin.com>


 slides/yocto-advanced/yocto-advanced.tex | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/slides/yocto-advanced/yocto-advanced.tex b/slides/yocto-advanced/yocto-advanced.tex
index ba151133..dc27abc1 100644
--- a/slides/yocto-advanced/yocto-advanced.tex
+++ b/slides/yocto-advanced/yocto-advanced.tex
@@ -39,6 +39,19 @@
+	\frametitle{Operators and Overrides}
+	\begin{itemize}
+		\item BitBake uses a dedicated set of operators to assign values to variables
+		\item Most operators will apply their effect at parsing time
+		\item The parsing order is difficult to predict, no assumption should be made about it.
+		\item Bitbakes supports \textbf{overrides}, to allow appending, prepending or modifying a variable at expansion time
+		\item Overrides are written as \code{VARIABLE_override = "some_value"}
+		\item A new syntax was introduced in bitbake : \code{VARIABLE:override = "some_value"}
+		\item It will be the new syntax to be used starting with \textbf{Honister}, with no retrocompatibility
+	\end{itemize}
   \frametitle{Methods and conditions 1/4}

More information about the training-materials-updates mailing list