From 6e7e1b7172813fc4ecb60597f903dd21a4616159 Mon Sep 17 00:00:00 2001 From: John Ogness Date: Tue, 19 Dec 2017 11:16:28 +0100 Subject: 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 --- distribution/yocto-advanced/yocto-add-own-kernel.tex | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'distribution/yocto-advanced/yocto-add-own-kernel.tex') 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: -- cgit v1.2.3