diff options
author | Changbin Du <changbin.du@gmail.com> | 2020-05-12 18:36:07 +0300 |
---|---|---|
committer | Masahiro Yamada <masahiroy@kernel.org> | 2020-05-13 04:33:54 +0300 |
commit | c027b02d89fd42ecee911c39e9098b9609a5ca0b (patch) | |
tree | 3c9776a367ea7d52496aa9f32ce161686192121f /scripts/kconfig/Makefile | |
parent | 09d5873e4d1f70202314b5fe40160f9b14b9d2d0 (diff) | |
download | linux-c027b02d89fd42ecee911c39e9098b9609a5ca0b.tar.xz |
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>
Diffstat (limited to 'scripts/kconfig/Makefile')
-rw-r--r-- | scripts/kconfig/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/kconfig/Makefile b/scripts/kconfig/Makefile index c9d0a4a8efb3..f3355bd86aa5 100644 --- a/scripts/kconfig/Makefile +++ b/scripts/kconfig/Makefile @@ -123,7 +123,9 @@ help: @echo ' gconfig - Update current config utilising a GTK+ based front-end' @echo ' oldconfig - Update current config utilising a provided .config as base' @echo ' localmodconfig - Update current config disabling modules not loaded' + @echo ' except those preserved by LMC_KEEP environment variable' @echo ' localyesconfig - Update current config converting local mods to core' + @echo ' except those preserved by LMC_KEEP environment variable' @echo ' defconfig - New config with default from ARCH supplied defconfig' @echo ' savedefconfig - Save current config as ./defconfig (minimal config)' @echo ' allnoconfig - New config where all options are answered with no' |