summaryrefslogtreecommitdiff
path: root/maintainer/kconfig-versions.template
diff options
context:
space:
mode:
Diffstat (limited to 'maintainer/kconfig-versions.template')
-rw-r--r--maintainer/kconfig-versions.template129
1 files changed, 129 insertions, 0 deletions
diff --git a/maintainer/kconfig-versions.template b/maintainer/kconfig-versions.template
new file mode 100644
index 0000000..7aa0de1
--- /dev/null
+++ b/maintainer/kconfig-versions.template
@@ -0,0 +1,129 @@
+#
+# DO NOT EDIT! This file is automatically generated.
+#
+
+#!if [ "@@nforks@@" -ge 2 ]
+choice
+ bool "Show @@master@@ versions from"
+
+#!foreach fork
+config @@masterpfx@@_USE_@@originpfx@@
+ bool "@@origin@@"
+#!if [ -n "@@only_obsolete@@" ]
+ depends on OBSOLETE
+#!end-if
+#!if [ -n "@@only_experimental@@" ]
+ depends on EXPERIMENTAL
+#!end-if
+ help
+@@originhelp@@
+
+#!end-foreach
+endchoice
+
+config @@masterpfx@@_USE
+ string
+#!foreach fork
+ default "@@pfx@@" if @@masterpfx@@_USE_@@originpfx@@
+#!end-foreach
+
+#!end-if
+
+#!foreach fork
+#!if [ "@@nforks@@" -ge 2 ]
+if @@masterpfx@@_USE_@@originpfx@@
+#!end-if
+
+if EXPERIMENTAL
+choice
+ bool "Source of @@name@@"
+
+config @@pfx@@_SRC_RELEASE
+ bool "Released tarball"
+ help
+ Download a released tarball.
+
+#!if [ -n "@@repository@@" ]
+config @@pfx@@_SRC_DEVEL
+ bool "Vendor repository"
+ help
+ Check out from vendor repository at:
+ @@repository@@
+#!end-if
+
+config @@pfx@@_SRC_CUSTOM
+ bool "Custom location"
+ help
+ Custom directory or tarball.
+
+endchoice
+endif
+
+#!if [ -n "@@repository@@" ]
+if @@pfx@@_SRC_DEVEL
+
+config @@pfx@@_DEVEL_VCS
+ string
+ default "@@vcs@@"
+
+config @@pfx@@_DEVEL_URL
+ string
+ default "@@repository_url@@"
+
+config @@pfx@@_DEVEL_BRANCH
+ string "Branch to check out"
+ default "@@repository_dflt_branch@@"
+ help
+ Git: branch to be checked out
+ Subversion: directories to append to the repository URL.
+
+config @@pfx@@_DEVEL_REVISION
+ string "Revision/changeset"
+ default "HEAD"
+ help
+ Commit ID or revision ID to check out.
+
+endif
+#!end-if
+
+if @@pfx@@_SRC_CUSTOM
+
+config @@pfx@@_CUSTOM_LOCATION
+ string "Custom source location"
+ help
+ Path to the directory or tarball with the sources.
+
+endif
+
+choice
+ bool "Version of @@name@@"
+
+#!foreach version
+config @@pfx@@_V_@@kcfg@@
+ bool "@@ver@@"
+ select @@pfx@@_V_@@kcfg@@_or_later
+
+#!end-foreach
+endchoice
+
+#!if [ "@@nforks@@" -ge 2 ]
+endif
+#!end-if
+
+config @@pfx@@_VERSION
+ string
+#!foreach version
+ default "@@ver@@" if @@pfx@@_V_@@kcfg@@
+#!end-foreach
+ default "unknown"
+
+#!foreach version
+config @@pfx@@_V_@@kcfg@@_or_later
+ bool
+#!if [ -n "@@prev@@" ]
+ select @@pfx@@_V_@@prev@@_or_later
+#!end-if
+
+#!end-foreach
+
+#!end-foreach