diff options
| author | Manuel Traut <manut@linutronix.de> | 2014-08-29 15:30:03 +0200 |
|---|---|---|
| committer | Manuel Traut <manut@linutronix.de> | 2014-08-29 15:30:03 +0200 |
| commit | 9b96af402f8ed256c5db1e8c48da6c1d5f5f92d8 (patch) | |
| tree | 24770583ea9055b84b33e284d170d5c6588ba164 /distribution/yocto-advanced/pres_yocto-advanced.tex | |
| parent | 5cb6ad7b8cfd08d1455880adc76c6e0c851d433e (diff) | |
yocto: add autotools hello world example
Signed-off-by: Manuel Traut <manut@linutronix.de>
Diffstat (limited to 'distribution/yocto-advanced/pres_yocto-advanced.tex')
| -rw-r--r-- | distribution/yocto-advanced/pres_yocto-advanced.tex | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/distribution/yocto-advanced/pres_yocto-advanced.tex b/distribution/yocto-advanced/pres_yocto-advanced.tex index faa513d..56ea3d4 100644 --- a/distribution/yocto-advanced/pres_yocto-advanced.tex +++ b/distribution/yocto-advanced/pres_yocto-advanced.tex @@ -650,6 +650,8 @@ PREFERRED\_VERSION\_virtual/kernel = "3.16" \item look for a similar recipe \item proper bbclass available? \end{itemize} +on the next slides, we have a look what is useful for very simple applications, +autotools and cmake based projects and qt applications. \end{frame} \begin{frame}[fragile] @@ -688,6 +690,34 @@ do_install() { \end{verbatim} \end{frame} +\begin{frame}[fragile] +\frametitle{autools based project} +\begin{verbatim} +├── autohello_1.0.bb +└── files + └── autohello-1.0.tar.gz +\end{verbatim} +\pause +\begin{verbatim} +DESCRIPTION = "GNU Helloworld application" +SECTION = "examples" +LICENSE = "GPLv2+" +LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" +PR = "r0" + +SRC_URI = "file://autohello-${PV}.tar.gz" +SRC_URI[md5sum] = "4bfc9bed4d5d67a266d93e99e5883211" +inherit autotools +\end{verbatim} +\end{frame} + +\begin{frame} +\frametitle{cmake based project} +\end{frame} + +\begin{frame} +\frametitle{qt application} +\end{frame} \begin{frame} \frametitle{use PR Service} |
