diff mbox series

kernel-dev: add disable config example

Message ID 20251103170449.86766-1-contact@schnwalter.eu
State Under Review
Headers show
Series kernel-dev: add disable config example | expand

Commit Message

Walter Werner SCHNEIDER Nov. 3, 2025, 5:04 p.m. UTC
Makes it more clear that the configuration fragment can also be used to
disable a configuration.

Signed-off-by: Walter Werner SCHNEIDER <contact@schnwalter.eu>
---
 documentation/kernel-dev/common.rst | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)
diff mbox series

Patch

diff --git a/documentation/kernel-dev/common.rst b/documentation/kernel-dev/common.rst
index bd6c3fb2c..9ff6ec221 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`.
 
 It is simple to create a configuration fragment. One method is to use
 shell commands. For example, issuing the following from the shell
-creates a configuration fragment file named ``my_smp.cfg`` that enables
-multi-processor support within the kernel::
+creates a configuration fragment file named ``my_changes.cfg`` that enables
+multi-processor support within the kernel and disables the FPGA
+Configuration Framework::
 
-   $ echo "CONFIG_SMP=y" >> my_smp.cfg
+   $ echo "CONFIG_SMP=y" >> my_changes.cfg
+   $ echo "# CONFIG_FPGA is not set" >> my_changes.cfg
 
 .. note::