aboutsummaryrefslogtreecommitdiffstats
path: root/documentation
diff options
context:
space:
mode:
authorScott Rifenbark <scott.m.rifenbark@intel.com>2014-03-18 17:02:37 -0600
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-03-25 12:29:42 +0000
commit24ee5fa913104cba01c796559bf3e5315f7c1722 (patch)
treed2038d8bdaac920516ba12fcf64490db27147d6f /documentation
parentfceba79bf76a5ab4ddd365f90ea847a15a44bc01 (diff)
downloadopenembedded-core-contrib-24ee5fa913104cba01c796559bf3e5315f7c1722.tar.gz
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 <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation')
-rw-r--r--documentation/dev-manual/dev-manual-common-tasks.xml27
1 files 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 @@
</para>
<para>
- Consider an example that configures the <filename>linux-yocto-3.4</filename>
+ Consider an example that configures the <filename>linux-yocto-3.14</filename>
kernel.
The OpenEmbedded build system recognizes this kernel as
<filename>linux-yocto</filename>.
@@ -3023,18 +3023,18 @@
The actual <filename>.config</filename> 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
<filename>x86</filename> architecture, the
<filename>.config</filename> file would be located here:
<literallayout class='monospaced'>
- 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
</literallayout>
<note>
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 <filename>linux-yocto-3.4...</filename> might differ.
+ for <filename>linux-yocto-3.14...</filename> might differ.
</note>
</para>
@@ -3227,7 +3227,9 @@
<para>
The example assumes a clean build exists for the <filename>qemux86</filename>
- machine in a Source Directory named <filename>poky</filename>.
+ machine in a
+ <link linkend='source-directory'>Source Directory</link>
+ named <filename>poky</filename>.
Furthermore, the <link linkend='build-directory'>Build Directory</link> is
<filename>build</filename> and is located in <filename>poky</filename> and
the kernel is based on the Linux 3.4 kernel.
@@ -3246,7 +3248,20 @@
<title>Create a Layer for your Changes</title>
<para>
- 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 <filename>yocto-layer</filename> 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
+ "<link linkend='creating-a-general-layer-using-the-yocto-layer-script'>Creating a General Layer Using the yocto-layer Script</link>"
+ section.
+ </para>
+
+ <para>
+ These two commands create a directory you can use for your
+ layer:
<literallayout class='monospaced'>
$ cd ~/poky
$ mkdir meta-mylayer