scripts: merge_config: Add option to suppress warning on overrides
authorMark Brown <broonie@kernel.org>
Fri, 10 Feb 2023 19:52:47 +0000 (19:52 +0000)
committerArnd Bergmann <arnd@arndb.de>
Mon, 13 Feb 2023 19:18:27 +0000 (20:18 +0100)
commit46dff8d7e381e74a501cbec6285a21dba1d9fccf
tree4f3dd51d57a96903b9ba0e866226fe438d1a16ec
parent384fcb0bd15ec3d458268294346f4e30e1baeafc
scripts: merge_config: Add option to suppress warning on overrides

Currently merge_config.sh will unconditionally warn if a fragment overrides
any already set symbol. This is generally desirable but is inconvenient in
cases where we want to create a fragment which disables unwanted options in
the base configuration, for example when attempting to produce a smaller
version of another configuration.

Add an option -Q which will suppress these warnings.

Signed-off-by: Mark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20230203-arm64-defconfigs-v1-1-cd0694a05f13@kernel.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
scripts/kconfig/merge_config.sh