summaryrefslogtreecommitdiffstats
path: root/documentation/kernel-dev
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-26 07:50:36 -0800
commit6906c4236fdd5233558ced75433709de7f26b6ff (patch)
tree40408ffe1641a5c80f95972d26791fb89c881611 /documentation/kernel-dev
parent938b1ad77a030d9040af5763e7d87b61c210b331 (diff)
downloadpoky-6906c4236fdd5233558ced75433709de7f26b6ff.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: a586a0ecacb4e40f4f3aeeb01dbefbdfcee8ae35) 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>
Diffstat (limited to 'documentation/kernel-dev')
-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 bd6c3fb2cf..9ff6ec221b 100644
--- a/documentation/kernel-dev/common.rst
+++ b/documentation/kernel-dev/common.rst
@@ -1191,10 +1191,12 @@ appear in the ``.config`` file, which is in the :term:`Build Directory`.
1191 1191
1192It is simple to create a configuration fragment. One method is to use 1192It is simple to create a configuration fragment. One method is to use
1193shell commands. For example, issuing the following from the shell 1193shell commands. For example, issuing the following from the shell
1194creates a configuration fragment file named ``my_smp.cfg`` that enables 1194creates a configuration fragment file named ``my_changes.cfg`` that enables
1195multi-processor support within the kernel:: 1195multi-processor support within the kernel and disables the FPGA
1196Configuration Framework::
1196 1197
1197 $ echo "CONFIG_SMP=y" >> my_smp.cfg 1198 $ echo "CONFIG_SMP=y" >> my_changes.cfg
1199 $ echo "# CONFIG_FPGA is not set" >> my_changes.cfg
1198 1200
1199.. note:: 1201.. note::
1200 1202