If I find an option in .config that I would like to enable or disable. Is there a quick way to find it in menuconfig menu?
i.e. I don't want CONFIG_STRICT_DEVMEM to be set. I had to guess where I can find it in the make menuconfig sub-menu. Is there a programmatic way or a faster way to find the sub-menu, rather than "guess"?
If I remember correctly, you can just hit
/DEVMEM
Enter
and you'll be taken there? Look for the 'search'/'find' option. If my memory serves me well, it will even tell you about required dependencies
You can use the key /
while in menuconfig to research a particular string. This will give you a list of matching configuration option and their path.
You can also use a gui instead of the ncurse menuconfig by typing make xconfig
.
Another way to do the lookup would be to use the find
command like that:
find /path/to/kernel/sources -name Kconfig -exec grep -Hn config_pattern {} \;
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With