From 24ee5fa913104cba01c796559bf3e5315f7c1722 Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Tue, 18 Mar 2014 17:02:37 -0600 Subject: dev-manual: Added yocto-layer script note and updated kernel version I added a bit about the layer creation in the patching the kernel section. The example does it by hand and now you could obviously use the yocto-layer create script. I made a note of saying the example does it by hand. Also, in the menuconfig example. I updated the kernel version from 3.4 to 3.14. It was very old. (From yocto-docs rev: 2696d4e45bccbb910c3d721e3f1d46d48309ee6d) Signed-off-by: Scott Rifenbark Signed-off-by: Richard Purdie --- .../dev-manual/dev-manual-common-tasks.xml | 27 +++++++++++++++++----- 1 file changed, 21 insertions(+), 6 deletions(-) diff --git a/documentation/dev-manual/dev-manual-common-tasks.xml b/documentation/dev-manual/dev-manual-common-tasks.xml index 4319ff061a..ef801d616d 100644 --- a/documentation/dev-manual/dev-manual-common-tasks.xml +++ b/documentation/dev-manual/dev-manual-common-tasks.xml @@ -2989,7 +2989,7 @@ - Consider an example that configures the linux-yocto-3.4 + Consider an example that configures the linux-yocto-3.14 kernel. The OpenEmbedded build system recognizes this kernel as linux-yocto. @@ -3023,18 +3023,18 @@ The actual .config is located in the area where the specific kernel is built. For example, if you were building a Linux Yocto kernel based on the - Linux 3.4 kernel and you were building a QEMU image targeted for + Linux 3.14 kernel and you were building a QEMU image targeted for x86 architecture, the .config file would be located here: - poky/build/tmp/work/qemux86-poky-linux/linux-yocto-3.4.11+git1+84f... + poky/build/tmp/work/qemux86-poky-linux/linux-yocto-3.14.11+git1+84f... ...656ed30-r1/linux-qemux86-standard-build The previous example directory is artificially split and many of the characters in the actual filename are omitted in order to make it more readable. Also, depending on the kernel you are using, the exact pathname - for linux-yocto-3.4... might differ. + for linux-yocto-3.14... might differ. @@ -3227,7 +3227,9 @@ The example assumes a clean build exists for the qemux86 - machine in a Source Directory named poky. + machine in a + Source Directory + named poky. Furthermore, the Build Directory is build and is located in poky and the kernel is based on the Linux 3.4 kernel. @@ -3246,7 +3248,20 @@ Create a Layer for your Changes - The first step is to create a layer so you can isolate your changes: + The first step is to create a layer so you can isolate your + changes. + Rather than use the yocto-layer script + to create the layer, this example steps through the process + by hand. + If you want information on the script that creates a general + layer, see the + "Creating a General Layer Using the yocto-layer Script" + section. + + + + These two commands create a directory you can use for your + layer: $ cd ~/poky $ mkdir meta-mylayer -- cgit v1.2.3-54-g00ecf