summaryrefslogtreecommitdiff
path: root/tests/Klocation_sourced
diff options
context:
space:
mode:
authorRoman <ztcoils@gmail.com>2018-02-27 10:04:36 +0200
committerUlf Magnusson <ulfalizer@gmail.com>2018-02-27 09:04:36 +0100
commitaea0232a56d9a9d2611b79ea9c67e0d9d49b183f (patch)
tree8460f167baa395761417259eec3326db937e651d /tests/Klocation_sourced
parent17026039bd81da7305b35c3d13b8d9cf45924a50 (diff)
Implement 'rsource' statement ('source' with relative path)
The 'rsource' statement works like 'source', but looks relative to the Kconfig file that has the 'rsource' rather than relative to the base Kconfig file. Using 'rsource' makes it possible to move subtrees with Kconfig files around without breaking references to other Kconfig files. So far, this is a Kconfiglib-exclusive feature.
Diffstat (limited to 'tests/Klocation_sourced')
-rw-r--r--tests/Klocation_sourced18
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/Klocation_sourced b/tests/Klocation_sourced
new file mode 100644
index 0000000..6e19f76
--- /dev/null
+++ b/tests/Klocation_sourced
@@ -0,0 +1,18 @@
+
+
+config MULTI_DEF
+
+choice CHOICE
+ bool "choice"
+endchoice
+
+config MENU_HOOK
+ bool
+
+menu "menu"
+endmenu
+
+config COMMENT_HOOK
+ bool
+
+comment "comment"