Is there any way to save just the 'Kernel Hacking' subsection instead of entire .config

From: Roman Storozhenko <hidden>
Date: 2017-06-09 15:42:06

Hello everybody!

As you know there is a great script "merge_config.sh". It allows to
override a predefined set of .config keys with the values stored in a
file.

For example:

scripts/kconfig/merge_config.sh -m -r .config
~/kernel/conf_mixins/.config_deb

Now, I want to turn on all of the options in the "Kernel Hacking"
submenu and save only that options to a separate file ".config_deb". But
how can I do this? I see three options:

1) Do it manually checking the match between every option title in
"Kernel Hacking" submenu and a key in .config. It is a hard way.

2) Turn off all debug options. Save them in one file. Turn on all debug
options and save them to other file. Then make diff on these two files,
format it and save to .config_deb. It is a better way, but not ideal.

Is there any other ways to handle this task?

Thanks in advance,
Roman Storozhenko
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help