diff options
| author | Manuel Traut <manut@linutronix.de> | 2014-08-22 17:30:15 +0200 |
|---|---|---|
| committer | Manuel Traut <manut@linutronix.de> | 2014-08-22 17:30:15 +0200 |
| commit | 6fd3f96324794416649a9d84c984f248100cc1f6 (patch) | |
| tree | 062432438215e99fa6364637fd292a79590c4c93 /distribution | |
| parent | a3b9112b5ae9d5fa0bc3b86857d21a6ec350309e (diff) | |
add some content to yocto basics
Signed-off-by: Manuel Traut <manut@linutronix.de>
Diffstat (limited to 'distribution')
| -rw-r--r-- | distribution/yocto-advanced/pres_yocto-advanced.tex | 1 | ||||
| -rw-r--r-- | distribution/yocto-basic/pres_yocto-basic.tex | 67 |
2 files changed, 64 insertions, 4 deletions
diff --git a/distribution/yocto-advanced/pres_yocto-advanced.tex b/distribution/yocto-advanced/pres_yocto-advanced.tex index 33cf1d6..f249803 100644 --- a/distribution/yocto-advanced/pres_yocto-advanced.tex +++ b/distribution/yocto-advanced/pres_yocto-advanced.tex @@ -30,6 +30,7 @@ bla \begin{frame} \frametitle{adding own applications} +already available? check http://layers.openembedded.org bla \end{frame} diff --git a/distribution/yocto-basic/pres_yocto-basic.tex b/distribution/yocto-basic/pres_yocto-basic.tex index 3a82298..1e2e4c4 100644 --- a/distribution/yocto-basic/pres_yocto-basic.tex +++ b/distribution/yocto-basic/pres_yocto-basic.tex @@ -4,20 +4,79 @@ \maketitle \begin{frame} -\frametitle{Recipes} -bla +\frametitle{Classes} +\begin{itemize} +\item denoted by the .bbclass extension +\item base.bbclass is automatically included by all other classes and recipes. +\item common tasks and there execution order is defined in base.bbclass +\item tasks can be added, overridden, extended or used by other classes +\end{itemize} \end{frame} \begin{frame} -\frametitle{Classes} -bla +\frametitle{Recipes} +\item a .bb file inherits classes and populates them with data +\item bitbake is used to schedule the tasks defined in a recipe \end{frame} \begin{frame} \frametitle{Layers} +\begin{itemize} +\item used to isolate different types of customizations from each other +\item e.g. own layer for machine specific stuff, one for own applications +\item .bbappend files are used to modify recipes from another layer +\end{itemize} +\end{frame} + +\begin{frame} +\frametitle{typical recipe progressing} +\begin{enumerate} +\item fetch source files +\item extract sources +\item patch sources +\item configure sources +\item compilation +\item packaging +\end{enumerate} +\end{frame} + +\begin{frame} +\frametitle{recipe syntax} +\begin{description} +\item [inherit] use a class (or multiple classes) +\item [PV] package-version (retrived from filename name\_version.bb) +\item [PN] package-name (retrived from filename name\_version.bb) +\end{description} +\end{frame} + +\begin{frame}[fragile] +\frametitle{Providers} +\begin{verbatim} +--8<- -my-kernel\_3.16.bb -- +PROVIDES += "virtual/kernel" +--8<------------------------ +\end{verbatim} + +PREFEREED\_PROVIDER\_virtual/kernel = "linux-yocto" +\end{frame} + +\begin{frame} +\frametitle{Preferences} +\begin{verbatim} +--8<- -my-kernel\_3.16.bb -- +PROVIDES += "virtual/kernel" +--8<------------------------ +\end{verbatim} + +PREFEREED\_PROVIDER\_virtual/kernel = "linux-yocto" +\end{frame} + +\begin{frame} +\frametitle{Machines} bla \end{frame} + \begin{frame} \frametitle{Configuration} bla |
