summaryrefslogtreecommitdiff
path: root/maintainer/kconfig-choice.template
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2017-08-24 21:58:14 (GMT)
committerAlexey Neyman <stilor@att.net>2017-08-24 21:58:14 (GMT)
commit4c1a12f5ddaaf418cea4ca41bac3f5d6f822ee6d (patch)
treed1e81bb04f39b0cb4e537093e45ad0d6cb144001 /maintainer/kconfig-choice.template
parent2d7efa5591a2cd721adf0888f6aed998dc28fb84 (diff)
Add "postprocessing" to substituted variables
... and reduce the number of variables defined explicitly. Signed-off-by: Alexey Neyman <stilor@att.net>
Diffstat (limited to 'maintainer/kconfig-choice.template')
-rw-r--r--maintainer/kconfig-choice.template10
1 files changed, 5 insertions, 5 deletions
diff --git a/maintainer/kconfig-choice.template b/maintainer/kconfig-choice.template
index 12ea12c..b2ca217 100644
--- a/maintainer/kconfig-choice.template
+++ b/maintainer/kconfig-choice.template
@@ -2,11 +2,11 @@
# DO NOT EDIT! This file is automatically generated.
#
-choice GEN_CHOICE_@@prefix@@
+choice GEN_CHOICE_@@dir|@@
bool "@@label@@"
#!foreach choice
-config @@prefix@@_@@kcfg_choice@@
+config @@dir|@@_@@choice|@@
bool "@@choice@@"
#!foreach dependency
@@depline@@
@@ -19,14 +19,14 @@ config @@prefix@@_@@kcfg_choice@@
#!end-foreach
endchoice
-config @@prefix@@
+config @@dir|@@
string
#!foreach choice
- default "@@choice@@" if @@prefix@@_@@kcfg_choice@@
+ default "@@choice@@" if @@dir|@@_@@choice|@@
#!end-foreach
#!foreach choice
-if @@prefix@@_@@kcfg_choice@@
+if @@dir|@@_@@choice|@@
source "config/@@dir@@/@@choice@@.in"
endif
#!end-foreach