summaryrefslogtreecommitdiffstats
path: root/scripts/checkdeclares.pl
diff options
context:
space:
mode:
authorMatthias Maennich <maennich@google.com>2020-12-02 16:12:39 +0100
committerMasahiro Yamada <masahiroy@kernel.org>2021-08-10 01:23:39 +0200
commita325db2d8f1d7e33cdc0152b61c3f14fb06f9893 (patch)
tree9f8de77db881a30dec9ba50e90e96d300ada6cc9 /scripts/checkdeclares.pl
parentLinux 5.14-rc5 (diff)
downloadlinux-a325db2d8f1d7e33cdc0152b61c3f14fb06f9893.tar.xz
linux-a325db2d8f1d7e33cdc0152b61c3f14fb06f9893.zip
scripts: merge_config: add strict mode to fail upon any redefinition
When merging configuration fragments, it might be of interest to identify mismatches (redefinitions) programmatically. Hence add the option -s (strict mode) to instruct merge_config.sh to bail out in case any redefinition has been detected. With strict mode, warnings are emitted as before, but the script terminates with rc=1. If -y is set to define "builtin having precedence over modules", fragments are still allowed to set =m (while the base config has =y). Strict mode will tolerate that as demotions from =y to =m are ignored when setting -y. Signed-off-by: Matthias Maennich <maennich@google.com> Reviewed-by: Lee Jones <lee.jones@linaro.org> Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Diffstat (limited to 'scripts/checkdeclares.pl')
0 files changed, 0 insertions, 0 deletions