summaryrefslogtreecommitdiff
path: root/distribution/yocto-example-layer/yocto-add-autotools-based-src.tex
diff options
context:
space:
mode:
authorManuel Traut <manut@linutronix.de>2018-11-27 22:57:33 +0100
committerJohn Ogness <john.ogness@linutronix.de>2018-11-29 15:37:16 +0106
commit5d9043ce4f07dbc63a2996874e798de4a83538c2 (patch)
treeae754cf03c83db31a4bf98cd1a7f443428fe064a /distribution/yocto-example-layer/yocto-add-autotools-based-src.tex
parent7ae33ef4607d2e17254e8ac1bc02aa9741bbe719 (diff)
add 'yocto-layer-example'
This is a first attemp to create a new slideset for day2 of yocto-trainig. The slideset is based on 'yocto-advanced' but with integration of 'meta-schulung' explanations. I used a slightly modified version of 'meta-schulung'. The following changes are currently not available in git: I don't use linux-yocto in meta-schulung, but use an own kernel-recipe and integrate the RT-PREEMPT patch. wic: i can't see the need for the second partition and the need for huge files in the kconfig. It works for me by adding ' --align 1024 ' to the wic setup. I decided to use ext2 instead of ext4. I renamed the rootfs.bb file into schulung-base.bb I use the u-boot recipe from poky. However i don't use u-boot for anything atm. But bootloader is on our agenda.. Signed-off-by: Manuel Traut <manut@linutronix.de>
Diffstat (limited to 'distribution/yocto-example-layer/yocto-add-autotools-based-src.tex')
-rw-r--r--distribution/yocto-example-layer/yocto-add-autotools-based-src.tex18
1 files changed, 18 insertions, 0 deletions
diff --git a/distribution/yocto-example-layer/yocto-add-autotools-based-src.tex b/distribution/yocto-example-layer/yocto-add-autotools-based-src.tex
new file mode 100644
index 0000000..3cc0767
--- /dev/null
+++ b/distribution/yocto-example-layer/yocto-add-autotools-based-src.tex
@@ -0,0 +1,18 @@
+\begin{frame}[fragile]
+\frametitle{Autools based project}
+\begin{verbatim}
+├── autohello_1.0.bb
+└── files
+ └── autohello-1.0.tar.gz
+\end{verbatim}
+\begin{verbatim}
+DESCRIPTION = "GNU Helloworld application"
+SECTION = "examples"
+LICENSE = "GPLv2+"
+LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
+PR = "r0"
+SRC_URI = "file://${PN}-${PV}.tar.gz"
+SRC_URI[md5sum] = "4bfc9bed4d5d67a266d93e99e5883211"
+inherit autotools
+\end{verbatim}
+\end{frame}