mirror of
https://git.yoctoproject.org/poky
synced 2026-09-16 09:49:35 +02:00
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>
This commit is contained in:
committed by
Steve Sakoman
parent
9479971ef9
commit
2943f88d88
@@ -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
|
It is simple to create a configuration fragment. One method is to use
|
||||||
shell commands. For example, issuing the following from the shell
|
shell commands. For example, issuing the following from the shell
|
||||||
creates a configuration fragment file named ``my_smp.cfg`` that enables
|
creates a configuration fragment file named ``my_changes.cfg`` that enables
|
||||||
multi-processor support within the kernel::
|
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::
|
.. note::
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user