diff options
Diffstat (limited to 'distribution/yocto-advanced/pres_yocto-advanced.tex')
| -rw-r--r-- | distribution/yocto-advanced/pres_yocto-advanced.tex | 28 |
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 |
