diff mbox series

kernel-dev: add disable config example

Message ID 20251103170449.86766-1-contact@schnwalter.eu
State Accepted
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(-)

Comments

Antonin Godard Nov. 26, 2025, 12:51 p.m. UTC | #1
On Mon, 03 Nov 2025 19:04:10 +0200, Walter Werner SCHNEIDER wrote:
> Makes it more clear that the configuration fragment can also be used to
> disable a configuration.
> 
> 

Applied, thanks!

[1/1] kernel-dev: add disable config example
      commit: d38ef467081ee73bf23f240ace54b849a3a87612

Best regards,
--
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::