summaryrefslogtreecommitdiff
path: root/distribution/yocto-advanced/yocto-layers.tex
diff options
context:
space:
mode:
authorJohn Ogness <john.ogness@linutronix.de>2018-04-19 11:03:45 +0200
committerJohn Ogness <john.ogness@linutronix.de>2018-04-19 11:03:45 +0200
commitea793b23c98403cefb38670d02a778b843bdf997 (patch)
treeabef3328bd017512394c315ddff9a3bd4b40a2be /distribution/yocto-advanced/yocto-layers.tex
parent6c4b8bc457831a351875ec1415d37ccb471bfc20 (diff)
replace *all* tabs with spaces
There are times when tabs are allowed and times when they are not. Let's just simply never use tabs for anything. This makes it easy to find presentations where tabs were accidentally inserted. Signed-off-by: John Ogness <john.ogness@linutronix.de>
Diffstat (limited to 'distribution/yocto-advanced/yocto-layers.tex')
-rw-r--r--distribution/yocto-advanced/yocto-layers.tex50
1 files changed, 25 insertions, 25 deletions
diff --git a/distribution/yocto-advanced/yocto-layers.tex b/distribution/yocto-advanced/yocto-layers.tex
index 2bd6286..1feab37 100644
--- a/distribution/yocto-advanced/yocto-layers.tex
+++ b/distribution/yocto-advanced/yocto-layers.tex
@@ -20,26 +20,26 @@ meta-mylayer
\end{frame}
\begin{frame}[fragile]
- \frametitle{meta-*/conf/layer.conf}
- each layer needs a configuration file
- \begin{itemize}
- \item add conf and class directories to BBPATH
- \begin{verbatim}BBPATH =. "${LAYERDIR}"\end{verbatim}
- \item add recipe directories to BBFILES
- \begin{verbatim}BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \
-${LAYERDIR}/recipes-*/*/*.bbappend"\end{verbatim}
- \item add layer name to BBFILE\_COLLECTIONS
- \begin{verbatim}BBFILE_COLLECTIONS += "mylayer"\end{verbatim}
- \item set root of the layer
- \begin{verbatim}BBFILE_PATTERN_mylayer = "^${LAYERDIR}/"\end{verbatim}
- \item set default priority of the layer
- \begin{verbatim}BBFILE_PRIORITY_mylayer = "5"\end{verbatim}
- \item set version of layer (only increment if dependencies with other
- layers are affected)
- \begin{verbatim}LAYERVERSION_mylayer = "2"\end{verbatim}
- \item set dependencies to other layers
- \begin{verbatim}LAYERDEPENDS_mylayer = "meta-yocto"\end{verbatim}
- \end{itemize}
+\frametitle{meta-*/conf/layer.conf}
+each layer needs a configuration file
+\begin{itemize}
+\item add conf and class directories to BBPATH
+\begin{verbatim}BBPATH =. "${LAYERDIR}"\end{verbatim}
+\item add recipe directories to BBFILES
+\begin{verbatim}BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \
+ ${LAYERDIR}/recipes-*/*/*.bbappend"\end{verbatim}
+\item add layer name to BBFILE\_COLLECTIONS
+\begin{verbatim}BBFILE_COLLECTIONS += "mylayer"\end{verbatim}
+\item set root of the layer
+\begin{verbatim}BBFILE_PATTERN_mylayer = "^${LAYERDIR}/"\end{verbatim}
+\item set default priority of the layer
+\begin{verbatim}BBFILE_PRIORITY_mylayer = "5"\end{verbatim}
+\item set version of layer (only increment if dependencies with other
+ layers are affected)
+\begin{verbatim}LAYERVERSION_mylayer = "2"\end{verbatim}
+\item set dependencies to other layers
+\begin{verbatim}LAYERDEPENDS_mylayer = "meta-yocto"\end{verbatim}
+\end{itemize}
\end{frame}
\begin{frame}
@@ -50,20 +50,20 @@ is useful to debug relations between different layers, options are:
\item [show-recipes] lists available recipes and the layers that provide them.
\item [show-overlayed] lists overlayed recipes
\item [show-appends] lists .bbappend files
- and the recipe files to which they apply
+ and the recipe files to which they apply
\item [show-cross-depends] lists dependency relationships
- between recipes that cross layer boundaries
+ between recipes that cross layer boundaries
\item [flatten] flattens the layer configuration
- into a separate output directory.
+ into a separate output directory.
\end{description}
\end{frame}
\begin{frame}
\frametitle{definitions}
\begin{itemize}
- \item It is possible for a recipe with a lower version number PV in a layer
+\item It is possible for a recipe with a lower version number PV in a layer
that has a higher priority to take precedence.
- \item Also, the layer priority does not currently affect the precedence
+\item Also, the layer priority does not currently affect the precedence
order of .conf or .bbclass files. Future versions of BitBake might address this.
\end{itemize}
\end{frame}