[bootlin/training-materials updates] master: slides/buildroot-advanced: slightly re-organize BR2_EXTERNAL slides (c9140796)
Thomas Petazzoni
thomas.petazzoni at bootlin.com
Sat Mar 11 12:12:10 CET 2023
Repository : https://github.com/bootlin/training-materials
On branch : master
Link : https://github.com/bootlin/training-materials/commit/c9140796e4fab11c7f6a7b755c672b98f818926d
>---------------------------------------------------------------
commit c9140796e4fab11c7f6a7b755c672b98f818926d
Author: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
Date: Sat Mar 11 12:12:10 2023 +0100
slides/buildroot-advanced: slightly re-organize BR2_EXTERNAL slides
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
>---------------------------------------------------------------
c9140796e4fab11c7f6a7b755c672b98f818926d
slides/buildroot-advanced/buildroot-advanced.tex | 46 ++++++++++++------------
1 file changed, 23 insertions(+), 23 deletions(-)
diff --git a/slides/buildroot-advanced/buildroot-advanced.tex b/slides/buildroot-advanced/buildroot-advanced.tex
index c438921b..7688e58a 100644
--- a/slides/buildroot-advanced/buildroot-advanced.tex
+++ b/slides/buildroot-advanced/buildroot-advanced.tex
@@ -48,10 +48,32 @@
\end{itemize}
\end{frame}
-\begin{frame}{{\tt BR2\_EXTERNAL}: mechanism}
+\begin{frame}[fragile]{Using {\tt BR2\_EXTERNAL}}
\begin{itemize}
\item Specify, as a colon-separated list, the {\em external}
directories in \code{BR2_EXTERNAL}
+ \item Not a configuration option, only an {\bf environment variable}
+ to be passed on the command line
+ \begin{block}{}
+\begin{verbatim}
+make BR2_EXTERNAL=/path/to/external1:/path/to/external2
+\end{verbatim}
+ \end{block}
+ \item {\bf Automatically saved} in the hidden \code{.br2-external.mk}
+ file in the output directory
+ \begin{itemize}
+ \item no need to pass \code{BR2_EXTERNAL} at every make invocation
+ \item can be changed at any time by passing a new value, and
+ removed by passing an empty value
+ \end{itemize}
+ \item Can be either an {\bf absolute} or a {\bf relative} path, but
+ if relative, important to remember that it's relative to the
+ Buildroot source directory
+ \end{itemize}
+\end{frame}
+
+\begin{frame}{{\tt BR2\_EXTERNAL}: important files}
+ \begin{itemize}
\item Each {\em external} directory must contain:
\begin{itemize}
\item \code{external.desc}, which provides a name and description
@@ -166,28 +188,6 @@ include $(sort $(wildcard $(BR2_EXTERNAL_<NAME>_PATH)/package/*/*.mk))
\end{block}
\end{frame}
-\begin{frame}[fragile]{Using {\tt BR2\_EXTERNAL}}
- \begin{itemize}
- \item Not a configuration option, only an {\bf environment variable}
- to be passed on the command line
- \begin{block}{}
-\begin{verbatim}
-make BR2_EXTERNAL=/path/to/external1:/path/to/external2
-\end{verbatim}
- \end{block}
- \item {\bf Automatically saved} in the hidden \code{.br2-external.mk}
- file in the output directory
- \begin{itemize}
- \item no need to pass \code{BR2_EXTERNAL} at every make invocation
- \item can be changed at any time by passing a new value, and
- removed by passing an empty value
- \end{itemize}
- \item Can be either an {\bf absolute} or a {\bf relative} path, but
- if relative, important to remember that it's relative to the
- Buildroot source directory
- \end{itemize}
-\end{frame}
-
\begin{frame}[fragile]{Use {\tt BR2\_EXTERNAL} in your configuration}
\begin{itemize}
More information about the training-materials-updates
mailing list