Search code examples
linuxkernelbuildroot

Linux kernel defconfig options not in resulting .config using BuildRoot


I am building kernel version 2.6.39.4 via BuildRoot for an arm target.

I am using a custom defconfig file, into which I added the following 3 options:

CONFIG_WIRELESS=y
CONFIG_WEXT_PRIV=y
CONFIG_WIRELESS_EXT=y

In the resulting .config file for the kernel, the only option that I see out of the 3 I added to my defconfig is CONFIG_WIRELESS=y

Is this normal? I know some kernel config options are "hidden", but will that keep them from showing up in the final .config for the kernel?


Solution

  • Both WEST_PRIV and WIRELESS_EXT are blind options (i.e. they have no prompt, they are not visible in menuconfig/xconfig).
    So you cannot simply set their value in a .config (or defconfig) file.
    They are only enabled when another option selects them.
    So you have to enable some relevent option that is visible, which will then automatically select WEXT_PRIV and WIRELESS_EXT.