From 7d14ef14dbb31657e7754138fb099551ad016aab Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Wed, 19 Oct 2022 09:26:56 +0200 Subject: --export-dref: add kconfig feature types if known --- bin/analyze-kconfig.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'bin') diff --git a/bin/analyze-kconfig.py b/bin/analyze-kconfig.py index 4775181..4dd9a9c 100755 --- a/bin/analyze-kconfig.py +++ b/bin/analyze-kconfig.py @@ -249,6 +249,11 @@ def main(): # show-failing-symbols, show-nop-symbols, DFATOOL_KCONF_WITH_CHOICE_NODES, DFATOOL_KCONF_IGNORE_NUMERIC, and DFATOOL_KCONF_IGNORE_STRING have no effect # in this branch. + if os.path.exists(args.kconfig_path): + attributes = KConfigAttributes(args.kconfig_path, None) + if args.export_dref: + dref.update(attributes.to_dref()) + if args.model.endswith("xz"): import lzma -- cgit v1.2.3