streamline_config.pl: add LMC_KEEP to preserve some kconfigs
authorChangbin Du <changbin.du@gmail.com>
Tue, 12 May 2020 15:36:07 +0000 (23:36 +0800)
committerMasahiro Yamada <masahiroy@kernel.org>
Wed, 13 May 2020 01:33:54 +0000 (10:33 +0900)
commitc027b02d89fd42ecee911c39e9098b9609a5ca0b
tree3c9776a367ea7d52496aa9f32ce161686192121f
parent09d5873e4d1f70202314b5fe40160f9b14b9d2d0
streamline_config.pl: add LMC_KEEP to preserve some kconfigs

Sometimes it is useful to preserve batches of configs when making
localmodconfig. For example, I usually don't want any usb and fs
modules to be disabled. Now we can do it by:

 $ make LMC_KEEP="drivers/usb:fs" localmodconfig

Signed-off-by: Changbin Du <changbin.du@gmail.com>
Acked-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Documentation/admin-guide/README.rst
scripts/kconfig/Makefile
scripts/kconfig/streamline_config.pl