Skip to content

Commit

Permalink
doc: extensions: options-from-kconfig: Disable warnings
Browse files Browse the repository at this point in the history
This option currently generates Kconfig warnings. Disable them to avoid
polluting the build.

Signed-off-by: Carles Cufi <[email protected]>
  • Loading branch information
carlescufi authored and gmarull committed Jan 9, 2024
1 parent 3b0161d commit c3f7e12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/_extensions/options_from_kconfig.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit c3f7e12

Please sign in to comment.