1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-31 12:49:46 +00:00

documentation/kernel-manual/kernel-how-to.xml: edits to tree construction

I made some clarifying edits to the section that describes how
the YP team constructs the kernel repositories (the tree).  There
were some things that just weren't clear.

(From yocto-docs rev: 127f0c8c89ec9b926a4ff348acc39a73f41e6fe7)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Scott Rifenbark
2012-01-26 17:09:42 -06:00
committed by Richard Purdie
parent 8f9dc14e28
commit b94e91043d
+19 -10
View File
@@ -54,15 +54,22 @@
"<ulink url='http://www.yoctoproject.org/docs/latest/dev-manual/dev-manual.html#local-kernel-files'>Linux Yocto Kernel</ulink>" bulleted item in The Yocto Project Development Manual. "<ulink url='http://www.yoctoproject.org/docs/latest/dev-manual/dev-manual.html#local-kernel-files'>Linux Yocto Kernel</ulink>" bulleted item in The Yocto Project Development Manual.
</para> </para>
<para> <para>
Once the Git repository is set up on your local machine, you can switch to the Once you have cloned the kernel Git repository on your local machine, you can
<filename>meta</filename> branch within the repository. switch to the <filename>meta</filename> branch within the repository.
Here, you can see a snapshot of all the kernel configuration and feature descriptions that are Here is an example that assumes the local Git repository for the kernel is in
used to build the kernel repository. a top-level directory named <filename>linux-yocto-3.0</filename>:
<literallayout class='monospaced'>
$ cd ~/linux-yocto-3.0
$ git checkout -b meta origin/meta
</literallayout>
Once you have checked out and switched to the <filename>meta</filename> branch,
you can see a snapshot of all the kernel configuration and feature descriptions that are
used to build that particular kernel repository.
These descriptions are in the form of <filename>.scc</filename> files. These descriptions are in the form of <filename>.scc</filename> files.
</para> </para>
<para> <para>
You should realize, however, that browsing your local snapshot of feature You should realize, however, that browsing your local kernel repository
descriptions and patches is not an effective way to determine what is in a for feature descriptions and patches is not an effective way to determine what is in a
particular kernel branch. particular kernel branch.
Instead, you should use Git directly to discover the changes in a branch. Instead, you should use Git directly to discover the changes in a branch.
Using Git is an efficient and flexible way to inspect changes to the kernel. Using Git is an efficient and flexible way to inspect changes to the kernel.
@@ -76,10 +83,12 @@
</note> </note>
</para> </para>
<para> <para>
The following steps describe what happens when the Yocto kernel team constructs The following steps describe what happens when the Yocto Project Team constructs
the kernel tree given the introduction of a new top-level kernel feature or BSP. the Yocto Linux kernel source Git repository (or tree) found at
These are the actions that effectively create the tree that includes the new feature, patch, <ulink url='http://git.yoctoproject.org/cgit.cgi'></ulink> given the
or BSP: introduction of a new top-level kernel feature or BSP.
These are the actions that effectively create the tree
that includes the new feature, patch or BSP:
<orderedlist> <orderedlist>
<listitem><para>A top-level kernel feature is passed to the kernel build subsystem. <listitem><para>A top-level kernel feature is passed to the kernel build subsystem.
Normally, this feature is a BSP for a particular kernel type.</para></listitem> Normally, this feature is a BSP for a particular kernel type.</para></listitem>