summaryrefslogtreecommitdiffstats
path: root/documentation/kernel-dev/advanced.rst
diff options
context:
space:
mode:
Diffstat (limited to 'documentation/kernel-dev/advanced.rst')
-rw-r--r--documentation/kernel-dev/advanced.rst20
1 files changed, 9 insertions, 11 deletions
diff --git a/documentation/kernel-dev/advanced.rst b/documentation/kernel-dev/advanced.rst
index a8734900a0..35195135c4 100644
--- a/documentation/kernel-dev/advanced.rst
+++ b/documentation/kernel-dev/advanced.rst
@@ -352,17 +352,15 @@ in the manual.
352Kernel Types 352Kernel Types
353------------ 353------------
354 354
355A kernel type defines a high-level kernel policy by aggregating 355A kernel type defines a high-level kernel policy by aggregating non-hardware
356non-hardware configuration fragments with patches you want to use when 356configuration fragments with patches you want to use when building a Linux
357building a Linux kernel of a specific type (e.g. a real-time kernel). 357kernel of a specific type (e.g. a real-time kernel). Syntactically, kernel
358Syntactically, kernel types are no different than features as described 358types are no different than features as described in the
359in the ":ref:`kernel-dev/advanced:features`" section. The 359":ref:`kernel-dev/advanced:features`" section. The :term:`LINUX_KERNEL_TYPE`
360:term:`LINUX_KERNEL_TYPE` 360variable in the kernel recipe selects the kernel type. For example, in the
361variable in the kernel recipe selects the kernel type. For example, in 361``linux-yocto_4.12.bb`` kernel recipe found in ``poky/meta/recipes-kernel/linux``, a
362the ``linux-yocto_4.12.bb`` kernel recipe found in 362:ref:`require <bitbake-user-manual/bitbake-user-manual-metadata:\`\`require\`\` directive>`
363``poky/meta/recipes-kernel/linux``, a 363directive includes the ``poky/meta/recipes-kernel/linux/linux-yocto.inc`` file,
364:ref:`require <bitbake:bitbake-user-manual/bitbake-user-manual-metadata:\`\`require\`\` directive>` directive
365includes the ``poky/meta/recipes-kernel/linux/linux-yocto.inc`` file,
366which has the following statement that defines the default kernel type:: 364which has the following statement that defines the default kernel type::
367 365
368 LINUX_KERNEL_TYPE ??= "standard" 366 LINUX_KERNEL_TYPE ??= "standard"