Matthias Maennich a325db2d8f 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>
2021-08-10 08:23:39 +09:00
..
2021-04-26 02:17:39 +09:00
2021-06-05 23:49:46 +09:00
2021-04-29 14:32:00 -07:00
2021-04-14 15:22:49 +09:00
2020-08-14 13:30:03 +09:00
2020-08-14 13:30:03 +09:00
2021-04-14 15:26:09 +09:00
2021-01-27 03:17:42 +09:00
2021-04-14 15:26:09 +09:00
2021-04-14 15:26:09 +09:00
2020-09-25 00:37:13 +09:00