From 6fd3f96324794416649a9d84c984f248100cc1f6 Mon Sep 17 00:00:00 2001
From: Manuel Traut <manut@linutronix.de>
Date: Fri, 22 Aug 2014 17:30:15 +0200
Subject: add some content to yocto basics

Signed-off-by: Manuel Traut <manut@linutronix.de>
---
 distribution/yocto-basic/pres_yocto-basic.tex | 67 +++++++++++++++++++++++++--
 1 file changed, 63 insertions(+), 4 deletions(-)

(limited to 'distribution/yocto-basic/pres_yocto-basic.tex')

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
-- 
cgit v1.2.3

