From 13884e934ec8eda928234c6506ae27f0334ec31b Mon Sep 17 00:00:00 2001 From: Ulf Magnusson Date: Thu, 23 Aug 2018 02:43:00 +0200 Subject: 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. --- tests/Kinclude_path_sourced_1 | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 tests/Kinclude_path_sourced_1 (limited to 'tests/Kinclude_path_sourced_1') diff --git a/tests/Kinclude_path_sourced_1 b/tests/Kinclude_path_sourced_1 new file mode 100644 index 0000000..f4dee98 --- /dev/null +++ b/tests/Kinclude_path_sourced_1 @@ -0,0 +1,12 @@ +config ONE_DOWN + bool + +source "Kinclude_path_sourced_2" + +config ONE_DOWN + bool + +source "Kinclude_path_sourced_2" + +config ONE_DOWN + bool -- cgit v1.2.3