mirror of
https://git.yoctoproject.org/git/poky
synced 2026-01-01 13:58:04 +00: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: 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>
This commit is contained in:
parent
938b1ad77a
commit
6906c4236f
|
|
@ -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::
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user