summaryrefslogtreecommitdiff
path: root/maintainer/kconfig-menu.template
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2017-11-29 08:14:04 (GMT)
committerAlexey Neyman <stilor@att.net>2017-11-30 07:44:49 (GMT)
commit9fdb93cce0a05e2562522153fe5deba8a9e9ae54 (patch)
tree54a6aab24418d733f750853f44a5bf74dd5056a1 /maintainer/kconfig-menu.template
parentd759137c46fb7a04c4db44123ba3050afd734eef (diff)
Make comp.libs use generated templates, too
This allows us to include the component-to-package relation in the generated kconfig files and make use of that information in the show-config.sh script. Signed-off-by: Alexey Neyman <stilor@att.net>
Diffstat (limited to 'maintainer/kconfig-menu.template')
-rw-r--r--maintainer/kconfig-menu.template7
1 files changed, 7 insertions, 0 deletions
diff --git a/maintainer/kconfig-menu.template b/maintainer/kconfig-menu.template
index 1a7daa5..3e32e16 100644
--- a/maintainer/kconfig-menu.template
+++ b/maintainer/kconfig-menu.template
@@ -14,6 +14,13 @@ menuconfig @@dir|@@_@@choice|@@
#!end-foreach
if @@dir|@@_@@choice|@@
+config @@dir|@@_@@choice|@@_PKG_KSYM
+ string
+ default "@@pkg|@@"
+
+#!if [ -n "@@pkg@@" ]
+source "config/versions/@@pkg@@.in"
+#!end-if
source "config/@@dir@@/@@choice@@.in"
endif