From 2943f88d88e567aea3e556593ea41fdf76d09a0c Mon Sep 17 00:00:00 2001 From: Walter Werner SCHNEIDER Date: Mon, 3 Nov 2025 19:04:10 +0200 Subject: [PATCH] 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 Signed-off-by: Antonin Godard (cherry picked from commit d38ef467081ee73bf23f240ace54b849a3a87612) Signed-off-by: Antonin Godard Signed-off-by: Steve Sakoman --- documentation/kernel-dev/common.rst | 8 +++++--- 1 file 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`. 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::