diff options
| author | Ulf Magnusson <ulfalizer@gmail.com> | 2018-08-23 02:43:00 +0200 |
|---|---|---|
| committer | Ulf Magnusson <ulfalizer@gmail.com> | 2018-08-24 01:01:36 +0200 |
| commit | 13884e934ec8eda928234c6506ae27f0334ec31b (patch) | |
| tree | 0f42365dad68240c5ebe0d81f7a7327affd1bf20 /tests/Kinclude_path_sourced_2 | |
| parent | 4b8805df373abebdf8e940b9511b2602640ff518 (diff) | |
Show include paths in menuconfig symbol information
Add a MenuNode.include_path attribute that holds a tuple of
(filename, linenr) tuples, giving the locations of the 'source'
statements via which the node's Kconfig file was included, starting from
the top-level Kconfig file.
Use MenuNode.include_path to give the include path for symbols and other
items in the help display in the menuconfig interface. This is useful
for figuring out how Kconfig files are organized, and when reorganizing
things.
Diffstat (limited to 'tests/Kinclude_path_sourced_2')
| -rw-r--r-- | tests/Kinclude_path_sourced_2 | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/Kinclude_path_sourced_2 b/tests/Kinclude_path_sourced_2 new file mode 100644 index 0000000..068f18d --- /dev/null +++ b/tests/Kinclude_path_sourced_2 @@ -0,0 +1,11 @@ +config TWO_DOWN + bool + +menu "menu" +endmenu + +comment "comment" + +choice + bool "choice" +endchoice |
