diff options
| author | Ulf Magnusson <ulfalizer@gmail.com> | 2018-08-18 12:57:22 +0200 |
|---|---|---|
| committer | Ulf Magnusson <ulfalizer@gmail.com> | 2018-08-18 13:11:11 +0200 |
| commit | 88683400468fbc9944a2da3288de4fcc8f32d5bd (patch) | |
| tree | cbd01e1c7ec40dc7c8eb273e40e1f943575d1529 | |
| parent | 4a0def9c3e56bb51ec18b578dfd237de032e7966 (diff) | |
Document that MenuNode.filename is relative to $srctree
..or to the current directory of $srctree isn't set.
| -rw-r--r-- | kconfiglib.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/kconfiglib.py b/kconfiglib.py index 03561b5..28f3ba8 100644 --- a/kconfiglib.py +++ b/kconfiglib.py @@ -4588,7 +4588,9 @@ class MenuNode(object): ignored internally by Kconfiglib, except when printing symbols. filename/linenr: - The location where the menu node appears. + The location where the menu node appears. The filename is relative to + $srctree (or to the current directory if $srctree isn't set), except + absolute paths passed to 'source' and Kconfig.__init__() are preserved. kconfig: The Kconfig instance the menu node is from. |
