Skip to contentSkip to conversation

Why do some config options return limited info from a search?

DISCUSSION John Whitmore 2 participants 3 messages Mar 19, 2018 – Mar 20, 2018

lore
Share & tools
lore
#0 lore raw

I'm trying to build the required options for my Laptop into the kernel, so not modules. When you search, in make menuconfig, for a config option you usually get very useful info about where it is, in the menus, and what its prompt is. This makes them easier to find.

Sometimes however you get a module which don't give this information. Is this intentional, signify something, or just an oversight for that config option? For example SND_HDA_CORE:

Symbol: SND_HDA_CORE [=m]
Type : tristate
Defined at sound/hda/Kconfig:1
Depends on: SOUND [=y] && !UML && SND [=y]
Selects: REGMAP [=y]
Selected by:
- SND_HDA_EXT_CORE [=m] && SOUND [=y] && !UML && SND [=y]
- SND_HDA [=m] && SOUND [=y] && !UML && SND [=y]

#1 lore raw
Quoted 4 lines · John Whitmore

Sometimes however you get a module which don't give this information. Is this intentional, signify something, or just an oversight for that config option? For example SND_HDA_CORE:

Quoted 8 lines

Symbol: SND_HDA_CORE [=m]
Type : tristate
Defined at sound/hda/Kconfig:1
Depends on: SOUND [=y] && !UML && SND [=y]
Selects: REGMAP [=y]
Selected by:
- SND_HDA_EXT_CORE [=m] && SOUND [=y] && !UML && SND [=y]
- SND_HDA [=m] && SOUND [=y] && !UML && SND [=y]

Some internal symbols don't have any visible menu-selects, because they are intended to be turned on only via other things doing 'SELECT'. After all, SND_HDA_CORE has little to no reason to be enabled unless your kernel build config asks for SND_HDA or SND_HDA_EXT_CORE (and *that* symbol is 'm', which is why SND_HDA_CORE is also ''m'. Switching EXT_CORE to 'y' will then auto-switch this one to 'y' as well).

#2 lore raw
Quoted 15 lines · valdis.kletnieks at vt.edu
Quoted 4 lines · John Whitmore

Sometimes however you get a module which don't give this information. Is this intentional, signify something, or just an oversight for that config option? For example SND_HDA_CORE:

Quoted 8 lines

Symbol: SND_HDA_CORE [=m]
Type : tristate
Defined at sound/hda/Kconfig:1
Depends on: SOUND [=y] && !UML && SND [=y]
Selects: REGMAP [=y]
Selected by:
- SND_HDA_EXT_CORE [=m] && SOUND [=y] && !UML && SND [=y]
- SND_HDA [=m] && SOUND [=y] && !UML && SND [=y]

Quoted 7 lines

Some internal symbols don't have any visible menu-selects, because they are intended to be turned on only via other things doing 'SELECT'. After all, SND_HDA_CORE has little to no reason to be enabled unless your kernel build config asks for SND_HDA or SND_HDA_EXT_CORE (and *that* symbol is 'm', which is why SND_HDA_CORE is also ''m'. Switching EXT_CORE to 'y' will then auto-switch this one to 'y' as well).

Perfectly logical and simple. Thanks for your answer that now all makes sense.