diff options
Diffstat (limited to 'documentation/kernel-dev/advanced.rst')
-rw-r--r-- | documentation/kernel-dev/advanced.rst | 20 |
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. | |||
352 | Kernel Types | 352 | Kernel Types |
353 | ------------ | 353 | ------------ |
354 | 354 | ||
355 | A kernel type defines a high-level kernel policy by aggregating | 355 | A kernel type defines a high-level kernel policy by aggregating non-hardware |
356 | non-hardware configuration fragments with patches you want to use when | 356 | configuration fragments with patches you want to use when building a Linux |
357 | building a Linux kernel of a specific type (e.g. a real-time kernel). | 357 | kernel of a specific type (e.g. a real-time kernel). Syntactically, kernel |
358 | Syntactically, kernel types are no different than features as described | 358 | types are no different than features as described in the |
359 | in 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` | 360 | variable in the kernel recipe selects the kernel type. For example, in the |
361 | variable 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 |
362 | the ``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 | 363 | directive 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 | ||
365 | includes the ``poky/meta/recipes-kernel/linux/linux-yocto.inc`` file, | ||
366 | which has the following statement that defines the default kernel type:: | 364 | which has the following statement that defines the default kernel type:: |
367 | 365 | ||
368 | LINUX_KERNEL_TYPE ??= "standard" | 366 | LINUX_KERNEL_TYPE ??= "standard" |