Common Tasks
- This chapter presents several common tasks that are performed when you
+ This chapter presents several common tasks you perform when you
work with the Yocto Project Linux kernel.
These tasks include preparing a layer, modifying an existing recipe,
iterative development, working with your own sources, and incorporating
@@ -29,7 +29,7 @@
sections in the Yocto Project Development Manual:
"Understanding and Creating Layers" for
- general information on layers and how to create them.
+ general information on layers and how to create layers."Get Your Layer Setup for the Build" for
specific instructions on setting up a layer for kernel
development.
@@ -238,7 +238,7 @@
The resulting .config file is
located in
${WORKDIR} under the
- linux-${MACHINE}-${KTYPE}-build directory.
+ linux-${MACHINE}-${KTYPE}-build directory.
You can use the entire .config file as the
defconfig file as described in the
"Changing the Configuration" section.
@@ -612,11 +612,14 @@
The important point to note here is the
- KERNEL_SRC variable.
- The module bbclass sets this variable,
- as well as the KERNEL_PATH variable
- to ${STAGING_KERNEL_DIR} with the
- necessary Linux kernel build information to build modules.
+ KERNEL_SRC
+ variable.
+ The class module.bbclass sets this variable,
+ as well as the
+ KERNEL_PATH
+ variable to
+ ${STAGING_KERNEL_DIR}
+ with the necessary Linux kernel build information to build modules.
If your module Makefile uses a different
variable, you might want to override the
do_compile() step, or create a patch to
@@ -656,9 +659,12 @@
- Because the variable is RRECOMMENDS and not
- a RDEPENDS variable, the build will not fail
- if this module is not available to include in the image.
+ Because the variable is
+ RRECOMMENDS
+ and not a
+ RDEPENDS
+ variable, the build will not fail if this module is not available
+ to include in the image.