summaryrefslogtreecommitdiff
path: root/bin/analyze-kconfig.py
diff options
context:
space:
mode:
authorBirte Kristina Friesel <birte.friesel@uos.de>2023-12-22 10:12:24 +0100
committerBirte Kristina Friesel <birte.friesel@uos.de>2023-12-22 10:12:24 +0100
commit40f8d2466fff0bb122a38da9c0c98dc6769a1e1c (patch)
tree11a7526fcb4b79ecbc3989c2df9a1da26e724372 /bin/analyze-kconfig.py
parente5afb3394e7034482927e4155e3f9eddbbf78851 (diff)
analyze-archive, analyze-kconfig: add --normalize-nfp support
Diffstat (limited to 'bin/analyze-kconfig.py')
-rwxr-xr-xbin/analyze-kconfig.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/analyze-kconfig.py b/bin/analyze-kconfig.py
index 868d106..663a3f9 100755
--- a/bin/analyze-kconfig.py
+++ b/bin/analyze-kconfig.py
@@ -309,6 +309,10 @@ def main():
param_shift = dfatool.cli.parse_param_shift(args.param_shift)
dfatool.utils.shift_param_in_aggregate(by_name, parameter_names, param_shift)
+ if args.normalize_nfp:
+ norm = dfatool.cli.parse_nfp_normalization(args.normalize_nfp)
+ dfatool.utils.normalize_nfp_in_aggregate(by_name, norm)
+
if args.export_aggregate:
import lzma