summaryrefslogtreecommitdiff
path: root/distribution/yocto-advanced/yocto-add-own-kernel.tex
diff options
context:
space:
mode:
authorJohn Ogness <john.ogness@linutronix.de>2017-12-19 11:16:28 +0100
committerJohn Ogness <john.ogness@linutronix.de>2017-12-19 11:16:28 +0100
commit6e7e1b7172813fc4ecb60597f903dd21a4616159 (patch)
treedbfe0b8f1a3d51c275722ba86d4ffe109ee88aef /distribution/yocto-advanced/yocto-add-own-kernel.tex
parent270520b4a2eac8725c8575c3180964289722e191 (diff)
update yocto-advanced: sync to devel/manut/yocto
The devel/manut/yocto heavily diverted from master. Sync with latest version 8cd4956a9b48a316eab6dc6d1b1f6cd51362fecf. Signed-off-by: John Ogness <john.ogness@linutronix.de>
Diffstat (limited to 'distribution/yocto-advanced/yocto-add-own-kernel.tex')
-rw-r--r--distribution/yocto-advanced/yocto-add-own-kernel.tex11
1 files changed, 5 insertions, 6 deletions
diff --git a/distribution/yocto-advanced/yocto-add-own-kernel.tex b/distribution/yocto-advanced/yocto-add-own-kernel.tex
index 7f86ecc..8d190f9 100644
--- a/distribution/yocto-advanced/yocto-add-own-kernel.tex
+++ b/distribution/yocto-advanced/yocto-add-own-kernel.tex
@@ -1,7 +1,7 @@
\subsection{Writing recipes}
\begin{frame}[fragile]
\frametitle{adding a kernel}
-create the file 'meta-mini/recipes-bsp/linux-vanilla/linux-vanilla\_3.16.1.bb':
+create the file 'meta-mybsp/recipes-bsp/linux-vanilla/linux-vanilla\_3.16.1.bb':
\begin{verbatim}
SECTION = "kernel"
DESCRIPTION = "Linux vanilla kernel"
@@ -26,7 +26,7 @@ S = "${WORKDIR}/git
BRANCH = "master"
SRC_URI = "https://www.kernel.org/pub/linux/kernel/v3.x/linux-${PV}.tar.xz \
- file://defconfig"
+ file://defconfig"
SRC_URI[md5sum] = "e7a985a243b7941b6bc6240fcbc797fc"
SRC_URI[sha256sum] = "be37dda8ea090525661d64e5c7fc8580f313b7f9ba8592e32120f1332b
@@ -35,7 +35,7 @@ KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT}"
LINUX_VERSION_EXTENSION = "-linutronix"
do_configure_prepend() {
- cp '${WORKDIR}/defconfig' '${S}/.config'
+ cp '${WORKDIR}/defconfig' '${S}/.config'
}
\end{verbatim}
\end{frame}
@@ -43,7 +43,7 @@ do_configure_prepend() {
\begin{frame}[fragile]
\frametitle{adding a defconfig}
copy your .config file to
-'meta-mini/recipes-bsp/linux-vanilla/files/beaglebone-black/defconfig'
+'meta-mybsp/recipes-bsp/linux-vanilla/files/beaglebone-black/defconfig'
\end{frame}
\begin{frame}[fragile]
@@ -52,7 +52,7 @@ add
\begin{verbatim}
PREFERRED_PROVIDER_virtual/kernel = "linux-vanilla"
\end{verbatim}
-to meta-mini/machine/beaglebone-black.conf
+to meta-mybsp/machine/beaglebone-black.conf
\end{frame}
\begin{frame}[fragile]
@@ -66,7 +66,6 @@ PROVIDES += "virtual/kernel"
PREFERRED\_PROVIDER\_virtual/kernel = "linux-vanilla"
-\pause
\vspace{2em}
also a preferred version can be set: