summaryrefslogtreecommitdiffstats
path: root/documentation/kernel-dev/advanced.rst
diff options
context:
space:
mode:
authorMichael Opdenacker <michael.opdenacker@bootlin.com>2021-05-12 11:30:15 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-05-22 12:16:40 +0100
commit020562cfbc3129c3cad7ebc8a5a8447681e5efed (patch)
tree3b6ec01a5dcbce135f24b14639d83853e9711048 /documentation/kernel-dev/advanced.rst
parent4db4e4ca46e8b23d5042d925ce5ad3073de4c3ed (diff)
downloadpoky-020562cfbc3129c3cad7ebc8a5a8447681e5efed.tar.gz
kernel-dev manual: simplify style
(From yocto-docs rev: 5bbbed35175ffcabb24bcac305d17563b8d9b9e3) Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/kernel-dev/advanced.rst')
-rw-r--r--documentation/kernel-dev/advanced.rst12
1 files changed, 6 insertions, 6 deletions
diff --git a/documentation/kernel-dev/advanced.rst b/documentation/kernel-dev/advanced.rst
index b0d03851b3..0e745c375d 100644
--- a/documentation/kernel-dev/advanced.rst
+++ b/documentation/kernel-dev/advanced.rst
@@ -21,7 +21,7 @@ is the ``yocto-kernel-cache`` Git repository. You can find this repository
21grouped under the "Yocto Linux Kernel" heading in the 21grouped under the "Yocto Linux Kernel" heading in the
22:yocto_git:`Yocto Project Source Repositories <>`. 22:yocto_git:`Yocto Project Source Repositories <>`.
23 23
24Kernel development tools ("kern-tools") exist also in the Yocto Project 24Kernel development tools ("kern-tools") are also available in the Yocto Project
25Source Repositories under the "Yocto Linux Kernel" heading in the 25Source Repositories under the "Yocto Linux Kernel" heading in the
26``yocto-kernel-tools`` Git repository. The recipe that builds these 26``yocto-kernel-tools`` Git repository. The recipe that builds these
27tools is ``meta/recipes-kernel/kern-tools/kern-tools-native_git.bb`` in 27tools is ``meta/recipes-kernel/kern-tools/kern-tools-native_git.bb`` in
@@ -313,7 +313,7 @@ The following listings show the ``build.scc`` file and part of the
313 313
314The description file can 314The description file can
315include multiple patch statements where each statement handles a single 315include multiple patch statements where each statement handles a single
316patch. In the example ``build.scc`` file, five patch statements exist 316patch. In the example ``build.scc`` file, there are five patch statements
317for the five patches in the directory. 317for the five patches in the directory.
318 318
319You can create a typical ``.patch`` file using ``diff -Nurp`` or 319You can create a typical ``.patch`` file using ``diff -Nurp`` or
@@ -509,8 +509,8 @@ description as meeting the criteria set by the recipe being built. This
509example supports the "beaglebone" machine for the "standard" kernel and 509example supports the "beaglebone" machine for the "standard" kernel and
510the "arm" architecture. 510the "arm" architecture.
511 511
512Be aware that a hard link between the ``KTYPE`` variable and a kernel 512Be aware that there is no hard link between the ``KTYPE`` variable and a kernel
513type description file does not exist. Thus, if you do not have the 513type description file. Thus, if you do not have the
514kernel type defined in your kernel Metadata as it is here, you only need 514kernel type defined in your kernel Metadata as it is here, you only need
515to ensure that the 515to ensure that the
516:term:`LINUX_KERNEL_TYPE` 516:term:`LINUX_KERNEL_TYPE`
@@ -776,8 +776,8 @@ patches in every kernel you build (i.e. have the patches as part of the
776lone "master" branch). It is situations like these that give rise to 776lone "master" branch). It is situations like these that give rise to
777multiple branches used within a Linux kernel sources Git repository. 777multiple branches used within a Linux kernel sources Git repository.
778 778
779Repository organization strategies exist that maximize source reuse, 779Here are repository organization strategies maximizing source reuse,
780remove redundancy, and logically order your changes. This section 780removing redundancy, and logically ordering your changes. This section
781presents strategies for the following cases: 781presents strategies for the following cases:
782 782
783- Encapsulating patches in a feature description and only including the 783- Encapsulating patches in a feature description and only including the