From c3f7e124bd6242ea8fef489c6d665fe80163a31a Mon Sep 17 00:00:00 2001 From: Carles Cufi Date: Tue, 9 Jan 2024 15:21:06 +0100 Subject: [PATCH] doc: extensions: options-from-kconfig: Disable warnings This option currently generates Kconfig warnings. Disable them to avoid polluting the build. Signed-off-by: Carles Cufi --- doc/_extensions/options_from_kconfig.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/_extensions/options_from_kconfig.py b/doc/_extensions/options_from_kconfig.py index 0d9e825facb..928d76f391a 100644 --- a/doc/_extensions/options_from_kconfig.py +++ b/doc/_extensions/options_from_kconfig.py @@ -67,7 +67,7 @@ def run(self): # kconfiglib wants this env var defined os.environ['srctree'] = os.path.dirname(os.path.abspath(__file__)) - kconfig = kconfiglib.Kconfig(filename=path) + kconfig = kconfiglib.Kconfig(filename=path, warn=False) prefix = self.options.get('prefix', None) suffix = self.options.get('suffix', None)