summaryrefslogtreecommitdiff
path: root/distribution/yocto-advanced/pres_yocto-advanced.tex
diff options
context:
space:
mode:
authorManuel Traut <manut@linutronix.de>2014-08-28 09:56:42 +0200
committerManuel Traut <manut@linutronix.de>2014-08-28 09:56:42 +0200
commitcc3b6c10f29fefe5800d4c6152ab2d1083369361 (patch)
tree678a63f350cfaad9507d7ec8ca0b9a332fecaf4e /distribution/yocto-advanced/pres_yocto-advanced.tex
parent8676185953cc0e996057a2327ceda2db8c12fdb8 (diff)
describe layer configuration
Signed-off-by: Manuel Traut <manut@linutronix.de>
Diffstat (limited to 'distribution/yocto-advanced/pres_yocto-advanced.tex')
-rw-r--r--distribution/yocto-advanced/pres_yocto-advanced.tex28
1 files changed, 28 insertions, 0 deletions
diff --git a/distribution/yocto-advanced/pres_yocto-advanced.tex b/distribution/yocto-advanced/pres_yocto-advanced.tex
index 84377f7..637d60e 100644
--- a/distribution/yocto-advanced/pres_yocto-advanced.tex
+++ b/distribution/yocto-advanced/pres_yocto-advanced.tex
@@ -27,6 +27,34 @@ DISTRO\_FEATURES
bla
\end{frame}
+\begin{frame}[fragile]
+ \frametitle{meta-*/conf/layer.conf}
+ \begin{itemize}
+ \item add conf and class directories to BBPATH
+ \begin{verbatim}BBPATH =. "${LAYERDIR}"\end{verbatim}
+ \pause
+ \item add recipe directories to BBFILES
+ \begin{verbatim}BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \
+ ${LAYERDIR}/recipes-*/*/*.bbappend"\end{verbatim}
+ \pause
+ \item add layer name to BBFILE\_COLLECTIONS
+ \begin{verbatim}BBFILE_COLLECTIONS += "mylayer"\end{verbatim}
+ \pause
+ \item set root of the layer
+ \begin{verbatim}BBFILE_PATTERN_mylayer = "^${LAYERDIR}/"\end{verbatim}
+ \pause
+ \item set default priority of the layer
+ \begin{verbatim}BBFILE_PRIORITY_mylayer = "5"\end{verbatim}
+ \pause
+ \item set version of layer (only increment if dependencies with other
+ layers are affected)
+ \begin{verbatim}LAYERVERSION_mylayer = "2"\end{verbatim}
+ \pause
+ \item set dependencies to other layers
+ \begin{verbatim}LAYERDEPENDS_mylayer = "meta-yocto"\end{verbatim}
+ \end{itemize}
+\end{frame}
+
\begin{frame}
\frametitle{adding a kernel}
bla