summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWalter Werner SCHNEIDER <contact@schnwalter.eu>2025-11-03 19:04:10 +0200
committerSteve Sakoman <steve@sakoman.com>2025-11-19 08:21:24 -0800
commit2943f88d88e567aea3e556593ea41fdf76d09a0c (patch)
tree96327852229163180226ae05e756e1cf82168709
parent9479971ef937d045558b1c46400dc896cf83499e (diff)
downloadpoky-2943f88d88e567aea3e556593ea41fdf76d09a0c.tar.gz
kernel-dev: add disable config example
Makes it more clear that the configuration fragment can also be used to disable a configuration. (From yocto-docs rev: c4bfc16b2e13444547342204a6f75fd1cf343533) Signed-off-by: Walter Werner SCHNEIDER <contact@schnwalter.eu> Signed-off-by: Antonin Godard <antonin.godard@bootlin.com> (cherry picked from commit d38ef467081ee73bf23f240ace54b849a3a87612) Signed-off-by: Antonin Godard <antonin.godard@bootlin.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>
-rw-r--r--documentation/kernel-dev/common.rst8
1 files changed, 5 insertions, 3 deletions
diff --git a/documentation/kernel-dev/common.rst b/documentation/kernel-dev/common.rst
index cedc2368b6..eea6faa135 100644
--- a/documentation/kernel-dev/common.rst
+++ b/documentation/kernel-dev/common.rst
@@ -1272,10 +1272,12 @@ appear in the ``.config`` file, which is in the :term:`Build Directory`.
1272 1272
1273It is simple to create a configuration fragment. One method is to use 1273It is simple to create a configuration fragment. One method is to use
1274shell commands. For example, issuing the following from the shell 1274shell commands. For example, issuing the following from the shell
1275creates a configuration fragment file named ``my_smp.cfg`` that enables 1275creates a configuration fragment file named ``my_changes.cfg`` that enables
1276multi-processor support within the kernel:: 1276multi-processor support within the kernel and disables the FPGA
1277Configuration Framework::
1277 1278
1278 $ echo "CONFIG_SMP=y" >> my_smp.cfg 1279 $ echo "CONFIG_SMP=y" >> my_changes.cfg
1280 $ echo "# CONFIG_FPGA is not set" >> my_changes.cfg
1279 1281
1280.. note:: 1282.. note::
1281 1283