kconfig: Turn pointless/confusing 'menuconfig's into 'config's
Defining a symbol with 'menuconfig' just tells the menuconfig to display any dependent symbols that immediately follow it in a separate menu. 'menuconfig' has no effect on symbol values. Making a symbol that doesn't have any dependent symbols after it a 'menuconfig' should be avoided, because then you end up with an empty menu, which is shown as e.g. [*] Enable foo --- This is how it would be shown if there were children but they all happened to be invisible as well. With a regular 'config', it turns into [*] Enable foo Change all pointless 'menuconfig's to 'config's. See the section on 'menuconfig' on the Kconfig - Tips and Best Practices page as well. Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
This commit is contained in:
parent
91818d2c07
commit
677f1e6db9
71 changed files with 90 additions and 97 deletions
|
@ -4,7 +4,7 @@
|
|||
# SPDX-License-Identifier: Apache-2.0
|
||||
#
|
||||
|
||||
menuconfig AUDIO_INTEL_DMIC
|
||||
config AUDIO_INTEL_DMIC
|
||||
bool "Intel digital PDM microphone driver support"
|
||||
help
|
||||
Enable Intel digital PDM microphone driver
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
# SPDX-License-Identifier: Apache-2.0
|
||||
#
|
||||
|
||||
menuconfig AUDIO_MPXXDTYY
|
||||
config AUDIO_MPXXDTYY
|
||||
bool "ST Digital PDM microphone attached to I2S support"
|
||||
depends on I2S
|
||||
select HAS_STLIB
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
# SPDX-License-Identifier: Apache-2.0
|
||||
#
|
||||
|
||||
menuconfig AUDIO_TLV320DAC
|
||||
config AUDIO_TLV320DAC
|
||||
bool "TLV320DAC310x DAC support"
|
||||
depends on I2C && GPIO
|
||||
help
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue