summaryrefslogtreecommitdiff
path: root/maintainer/kconfig-choice.template
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2017-07-13 07:38:03 (GMT)
committerGitHub <noreply@github.com>2017-07-13 07:38:03 (GMT)
commit45c5bb0f484cba724be2c6105801dcce9a1a82d9 (patch)
tree8fd1c8eaa2ef203009d72b6ca6348611dcc5ee1c /maintainer/kconfig-choice.template
parent8f8e131d566af1f577d8fb6e62e6f121b7955472 (diff)
parentb32fcf7c1eea890a2bd3f88487f818ba241aabb1 (diff)
Merge pull request #767 from stilor/packages
Packages
Diffstat (limited to 'maintainer/kconfig-choice.template')
-rw-r--r--maintainer/kconfig-choice.template32
1 files changed, 32 insertions, 0 deletions
diff --git a/maintainer/kconfig-choice.template b/maintainer/kconfig-choice.template
new file mode 100644
index 0000000..12ea12c
--- /dev/null
+++ b/maintainer/kconfig-choice.template
@@ -0,0 +1,32 @@
+#
+# DO NOT EDIT! This file is automatically generated.
+#
+
+choice GEN_CHOICE_@@prefix@@
+ bool "@@label@@"
+
+#!foreach choice
+config @@prefix@@_@@kcfg_choice@@
+ bool "@@choice@@"
+#!foreach dependency
+ @@depline@@
+#!end-foreach
+ help
+#!foreach help
+ @@helpline@@
+#!end-foreach
+
+#!end-foreach
+endchoice
+
+config @@prefix@@
+ string
+#!foreach choice
+ default "@@choice@@" if @@prefix@@_@@kcfg_choice@@
+#!end-foreach
+
+#!foreach choice
+if @@prefix@@_@@kcfg_choice@@
+source "config/@@dir@@/@@choice@@.in"
+endif
+#!end-foreach