diff options
| author | Jan Altenberg <jan@linutronix.de> | 2016-05-20 19:02:57 +0200 |
|---|---|---|
| committer | Jan Altenberg <jan@linutronix.de> | 2016-05-20 19:02:57 +0200 |
| commit | de3626497bba95b5d44550c9c23b99fd20a8d9c8 (patch) | |
| tree | deb98eff85fffccf9f7b2818bf837e6ab51d836a /distribution/yocto-x86 | |
| parent | 29bcbff58ced768f9f4edbc6f4d9d9604552f09e (diff) | |
| parent | f4af36737b6e0ca37f5b17434b8f37d04cf083d7 (diff) | |
Merge remote-tracking branch 'remotes/origin/devel/manut/yocto'
Integration of Manu's latest Yocto topics (autotools)
Diffstat (limited to 'distribution/yocto-x86')
| -rw-r--r-- | distribution/yocto-x86/Kconfig | 7 | ||||
| -rw-r--r-- | distribution/yocto-x86/Makefile | 1 | ||||
| -rw-r--r-- | distribution/yocto-x86/pres_yocto-x86.tex | 103 | ||||
| -rw-r--r-- | distribution/yocto-x86/yocto-add-efl.tex | 35 |
4 files changed, 146 insertions, 0 deletions
diff --git a/distribution/yocto-x86/Kconfig b/distribution/yocto-x86/Kconfig new file mode 100644 index 0000000..5b4a277 --- /dev/null +++ b/distribution/yocto-x86/Kconfig @@ -0,0 +1,7 @@ +config YOCTO_X86 + bool "Yocto All Features (x86)" + default y + help + 2 day course including presentation of all yocto features and + creating and integrating autotools-based projects and integrating + own kernels. diff --git a/distribution/yocto-x86/Makefile b/distribution/yocto-x86/Makefile new file mode 100644 index 0000000..4c086ba --- /dev/null +++ b/distribution/yocto-x86/Makefile @@ -0,0 +1 @@ +obj-$(CONFIG_YOCTO_X86) = pres_yocto-x86.pdf diff --git a/distribution/yocto-x86/pres_yocto-x86.tex b/distribution/yocto-x86/pres_yocto-x86.tex new file mode 100644 index 0000000..19696b5 --- /dev/null +++ b/distribution/yocto-x86/pres_yocto-x86.tex @@ -0,0 +1,103 @@ +\input{configpres} + +\title{YOCTO with Autotools based projects} +\maketitle + +\begin{frame} +\frametitle{Agenda} +\begin{itemize} + \item Yocto Intro + \begin{itemize} + \item What is Yocto/Poky? + \item Yocto compared with other methods + \end{itemize} + + \item Yocto Feature Tour + \begin{itemize} + \item Understand the workflow + \item Using BSP layers + \item Extend and build predefined images + \item Using ADT + \end{itemize} + + \item Autotools + \begin{itemize} + \item Autoconf + \item Automake + \item Libtool + \end{itemize} + + \item Yocto Customization + \begin{itemize} + \item Application Integration + \item Kernel Integration + \end{itemize} +\end{itemize} +\end{frame} + +\input{../yocto-intro/yocto-intro} + +\begin{frame} + \frametitle{Yocto Feature Tour} + \begin{itemize} + \item Workflow + \item Recipes + \item Images + \item ADT + \item Layers + \item extend Images + \end{itemize} +\end{frame} + +\input{../yocto-basic/yocto-workflow} +\input{../yocto-basic/yocto-imgbuild1} +\input{../yocto-basic/yocto-imgbuild-predefined} +\input{../yocto-basic/yocto-imgbuild2} +\input{../yocto-basic/yocto-adt} +\input{../yocto-advanced/yocto-layers} +\input{../yocto-advanced/yocto-create-own-layer} +\input{../yocto-advanced/yocto-extend-image} + +\begin{frame} +\frametitle{if we still have (a lot of) time} + \begin{itemize} + \item try to build and run the enlightenment window manager + \item the slides show just the start + \item you need to fix two build bugs + \item you need to add some runtime dependencies + \end{itemize} +\end{frame} + +\input{yocto-add-efl} + +\begin{frame} + \frametitle{Autotools} + \begin{itemize} + \item Autoconf + \item Automake + \item standalone example + \item Libtool + \item library example + \end{itemize} +\end{frame} + +\input{../autotools/autotools.tex} + +\subsection{adding own applications} +\begin{frame} + \frametitle{Yocto Customization} + \begin{itemize} + \item Application Integration + \item Kernel Integration + \item Yocto Helpers + \end{itemize} +\end{frame} + +\input{../yocto-advanced/yocto-add-simple-application} +\input{../yocto-advanced/yocto-add-autotools-based-src} +\input{../yocto-advanced/yocto-add-own-kernel} +\input{../yocto-advanced/yocto-img-customization} +\input{../yocto-advanced/yocto-scripts} +\input{../yocto-advanced/yocto-resume} + +\input{tailpres} diff --git a/distribution/yocto-x86/yocto-add-efl.tex b/distribution/yocto-x86/yocto-add-efl.tex new file mode 100644 index 0000000..d4654f2 --- /dev/null +++ b/distribution/yocto-x86/yocto-add-efl.tex @@ -0,0 +1,35 @@ +\subsection{additional software} + +\begin{frame}[fragile] +\frametitle{meta-openembedded} +a lot of additional sw can be obtained from 'meta-openembedded': +\begin{verbatim} +$ cd ~/poky +$ git clone git://git.openembedded.org/meta-openembedded +$ cd meta-openembedded +$ git checkout -t origin/krogoth -b krogoth +$ ls +$ meta-multimedia meta-python meta-xfce +.. +\end{verbatim} +one git repository with multiple layers +\end{frame} + +\begin{frame}[fragile] +\frametitle{add meta-efl} +\begin{verbatim} +$ cd ~/poky/build +$ bitbake-layers add-layer ../meta-openembedded/meta-efl +$ bitbake-layers add-layer ../meta-openembedded/meta-oe +\end{verbatim} + +edit ../meta-mini/recipes-bsp/mini-image/mini-image.bb +\begin{verbatim} +IMAGE_INSTALL += "openssh e-wm" +inherit core-image +\end{verbatim} + +\begin{verbatim} +bitbake mini-image +\end{verbatim} +\end{frame} |
