diff options
| author | Walter Werner SCHNEIDER <contact@schnwalter.eu> | 2025-11-03 19:04:10 +0200 |
|---|---|---|
| committer | Steve Sakoman <steve@sakoman.com> | 2025-11-19 08:21:24 -0800 |
| commit | 2943f88d88e567aea3e556593ea41fdf76d09a0c (patch) | |
| tree | 96327852229163180226ae05e756e1cf82168709 | |
| parent | 9479971ef937d045558b1c46400dc896cf83499e (diff) | |
| download | poky-2943f88d88e567aea3e556593ea41fdf76d09a0c.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: c4bfc16b2e13444547342204a6f75fd1cf343533)
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>
| -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 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`. | |||
| 1272 | 1272 | ||
| 1273 | It is simple to create a configuration fragment. One method is to use | 1273 | It is simple to create a configuration fragment. One method is to use |
| 1274 | shell commands. For example, issuing the following from the shell | 1274 | shell commands. For example, issuing the following from the shell |
| 1275 | creates a configuration fragment file named ``my_smp.cfg`` that enables | 1275 | creates a configuration fragment file named ``my_changes.cfg`` that enables |
| 1276 | multi-processor support within the kernel:: | 1276 | multi-processor support within the kernel and disables the FPGA |
| 1277 | Configuration Framework:: | ||
| 1277 | 1278 | ||
| 1278 | $ echo "CONFIG_SMP=y" >> my_smp.cfg | 1279 | $ echo "CONFIG_SMP=y" >> my_changes.cfg |
| 1280 | $ echo "# CONFIG_FPGA is not set" >> my_changes.cfg | ||
| 1279 | 1281 | ||
| 1280 | .. note:: | 1282 | .. note:: |
| 1281 | 1283 | ||
