diff options
| author | Walter Werner SCHNEIDER <contact@schnwalter.eu> | 2025-11-03 19:04:10 +0200 |
|---|---|---|
| committer | Steve Sakoman <steve@sakoman.com> | 2025-11-26 07:50:36 -0800 |
| commit | 6906c4236fdd5233558ced75433709de7f26b6ff (patch) | |
| tree | 40408ffe1641a5c80f95972d26791fb89c881611 /documentation/kernel-dev | |
| parent | 938b1ad77a030d9040af5763e7d87b61c210b331 (diff) | |
| download | poky-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.rst | 8 |
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 | ||
| 1192 | It is simple to create a configuration fragment. One method is to use | 1192 | It is simple to create a configuration fragment. One method is to use |
| 1193 | shell commands. For example, issuing the following from the shell | 1193 | shell commands. For example, issuing the following from the shell |
| 1194 | creates a configuration fragment file named ``my_smp.cfg`` that enables | 1194 | creates a configuration fragment file named ``my_changes.cfg`` that enables |
| 1195 | multi-processor support within the kernel:: | 1195 | multi-processor support within the kernel and disables the FPGA |
| 1196 | Configuration 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 | ||
