diff options
author | Matthias Maennich <maennich@google.com> | 2020-12-02 15:12:39 +0000 |
---|---|---|
committer | Masahiro Yamada <masahiroy@kernel.org> | 2021-08-10 08:23:39 +0900 |
commit | a325db2d8f1d7e33cdc0152b61c3f14fb06f9893 (patch) | |
tree | 9f8de77db881a30dec9ba50e90e96d300ada6cc9 /Makefile | |
parent | 36a21d51725af2ce0700c6ebcb6b9594aac658a6 (diff) | |
download | lwn-a325db2d8f1d7e33cdc0152b61c3f14fb06f9893.tar.gz lwn-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 'Makefile')
0 files changed, 0 insertions, 0 deletions