summaryrefslogtreecommitdiff
path: root/maintainer/kconfig-choice.template
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2017-11-30 07:54:11 (GMT)
committerGitHub <noreply@github.com>2017-11-30 07:54:11 (GMT)
commite832b9b220f90b11b893e2815ceb37ec2b708683 (patch)
tree696f267410565b7f20b9b115bdd4d71881cadfed /maintainer/kconfig-choice.template
parent1b8d0d2138a7292b6ad546e1c3dcfd1ed495c02f (diff)
parent9fdb93cce0a05e2562522153fe5deba8a9e9ae54 (diff)
Merge pull request #869 from stilor/show-samples
Support custom packages in show-config
Diffstat (limited to 'maintainer/kconfig-choice.template')
-rw-r--r--maintainer/kconfig-choice.template14
1 files changed, 14 insertions, 0 deletions
diff --git a/maintainer/kconfig-choice.template b/maintainer/kconfig-choice.template
index b2ca217..affaf65 100644
--- a/maintainer/kconfig-choice.template
+++ b/maintainer/kconfig-choice.template
@@ -25,8 +25,22 @@ config @@dir|@@
default "@@choice@@" if @@dir|@@_@@choice|@@
#!end-foreach
+config @@dir|@@_CHOICE_KSYM
+ string
+#!foreach choice
+ default "@@choice|@@" if @@dir|@@_@@choice|@@
+#!end-foreach
+
#!foreach choice
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
+
#!end-foreach