\input{configpres}

\title{YOCTO - Basics}
\maketitle

\begin{frame}
\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{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
\end{frame}

\begin{frame}
\frametitle{using meta-fsl}
bla
\end{frame}

\begin{frame}
\frametitle{using meta-ti}
bla
\end{frame}

\begin{frame}
\frametitle{commands and debug methods}
bla
\end{frame}

\input{tailpres}
