doc: kconfig: Encourage dropping 'Enable ...' from most prompts
Usually, it's clear from context, and it makes things consistent. Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
This commit is contained in:
parent
3e69a0e465
commit
e5cca102a5
1 changed files with 9 additions and 0 deletions
|
@ -624,6 +624,15 @@ without prompts, and somewhat obscure.
|
|||
definitions easier to discover and remove.
|
||||
|
||||
|
||||
Prompt strings
|
||||
==============
|
||||
|
||||
For a Kconfig symbol that enables a driver/subsystem FOO, consider having just
|
||||
"Foo" as the prompt, instead of "Enable Foo support" or the like. It will
|
||||
usually be clear in the context of an option that can be toggled on/off, and
|
||||
makes things consistent.
|
||||
|
||||
|
||||
Lesser-known/used Kconfig features
|
||||
**********************************
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue