diff options
author | Birte Kristina Friesel <birte.friesel@uos.de> | 2024-06-28 08:59:49 +0200 |
---|---|---|
committer | Birte Kristina Friesel <birte.friesel@uos.de> | 2024-06-28 08:59:49 +0200 |
commit | 31a4e67625730f765943e5b60c401d8027a50a96 (patch) | |
tree | c6dd6ba2b128de650075b218281711a6d0e12cda /bin | |
parent | 54886307daed58eee704c88f972cb3b578366b95 (diff) |
analyze-kconfig: move paramValueToIndex to model root
This is what kconfig-webconf expects
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/analyze-kconfig.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/analyze-kconfig.py b/bin/analyze-kconfig.py index ec08a3b..8401e68 100755 --- a/bin/analyze-kconfig.py +++ b/bin/analyze-kconfig.py @@ -575,6 +575,10 @@ def main(): json_model[attribute] = data.copy() if nfpkeys: json_model[attribute].update(nfpkeys[name][attribute]) + if "paramValueToIndex" in json_model[attribute]["modelFunction"]: + json_model[attribute]["paramValueToIndex"] = json_model[attribute][ + "modelFunction" + ].pop("paramValueToIndex") out_model = { "model": json_model, "modelType": "dfatool-kconfig", |