diff --git a/documentation/kernel-dev/kernel-dev-common.xml b/documentation/kernel-dev/kernel-dev-common.xml
index fe134cc916..fbe43213e2 100644
--- a/documentation/kernel-dev/kernel-dev-common.xml
+++ b/documentation/kernel-dev/kernel-dev-common.xml
@@ -143,7 +143,7 @@ Project Board Support Package Developer's Guide.
SRC_URI += "file://0002-first-change.patch"
SRC_URI += "file://0003-first-change.patch"
- Then next time you run BitBake to build the Linux kernel, BitBake
+ The next time you run BitBake to build the Linux kernel, BitBake
detects the change in the recipe and fetches and applies the patches
before building the kernel.
@@ -173,7 +173,55 @@ apply the patches before rebuilding the Linux kernel.
Changing the Configuration
- Making wholesale or incremental changes to the Linux kernel config can be made
+ You can make wholesale or incremental changes to the Linux
+ kernel .config file by including a
+ defconfig or by specifying
+ configuration fragments in the SRC_URI.
+
+
+
+ If you have a complete Linux kernel .config
+ file you want to use, copy it to the
+ ${FILES}
+ directory within your layer and name it "defconfig".
+ Then, add the following line to your linux-yocto
+ .bbappend file in your layer:
+
+ SRC_URI += "file://defconfig"
+
+
+
+
+ Generally speaking, the preferred approach is to determine the
+ incremental change you want to make and add that as a fragment.
+ For example, if you wanted to add support for a basic serial
+ console, create a file named 8250.cfg in the
+ ${FILES} directory with the following
+ content (without indentation):
+
+ CONFIG_SERIAL_8250=y
+ CONFIG_SERIAL_8250_CONSOLE=y
+ CONFIG_SERIAL_8250_PCI=y
+ CONFIG_SERIAL_8250_NR_UARTS=4
+ CONFIG_SERIAL_8250_RUNTIME_UARTS=4
+ CONFIG_SERIAL_CORE=y
+ CONFIG_SERIAL_CORE_CONSOLE=y
+
+ Next, include this configuration fragment in a
+ SRC_URI statement in your
+ .bbappend file:
+
+ SRC_URI += "file://8250.cfg"
+
+ The next time you run BitBake to build the Linux kernel, BitBake
+ detects the change in the recipe and fetches and applies the
+ new configuration before building the kernel.
+
+
+
+ Original Text:
+
+Making wholesale or incremental changes to the Linux kernel config can be made
by including a defconfig or configuration fragments in the SRC_URI.
If you have a complete Linux kernel .config file you want to use, copy it as
@@ -201,6 +249,7 @@ Then include this configuration fragment in the SRC_URI:
At the next build, bitbake will detect the change in the recipe and fetch and
apply the new configuration before rebuilding the Linux kernel.
+