summaryrefslogtreecommitdiff
path: root/maintainer
diff options
context:
space:
mode:
Diffstat (limited to 'maintainer')
-rw-r--r--maintainer/kconfig-versions.template19
1 files changed, 14 insertions, 5 deletions
diff --git a/maintainer/kconfig-versions.template b/maintainer/kconfig-versions.template
index 61414f5..1969354 100644
--- a/maintainer/kconfig-versions.template
+++ b/maintainer/kconfig-versions.template
@@ -53,7 +53,7 @@ config @@fork|@@_PKG_NAME
choice
bool "Source of @@pkg_label@@"
-#!if [ "@@#version@@" -gt 0 ]
+#!if [ "@@#version@@" -gt 0 ] && [ "@@src_release@@" != "n" ]
config @@fork|@@_SRC_RELEASE
bool "Released tarball"
help
@@ -62,9 +62,6 @@ config @@fork|@@_SRC_RELEASE
#!end-if
config @@fork|@@_SRC_DEVEL
bool "Vendor/custom repository"
-#!if [ "@@#version@@" -gt 0 ]
- depends on EXPERIMENTAL
-#!end-if
help
Check out from a repository.
#!if [ -n "@@repository@@" ]
@@ -116,6 +113,9 @@ config @@fork|@@_DEVEL_URL
config @@fork|@@_DEVEL_BRANCH
string "Branch/tag to check out"
+#!foreach version if-differs repository_branch
+ default "@@repository_branch@@" if @@fork|@@_V_@@ver_sel|@@
+#!end-foreach
default "@@repository_branch@@"
help
Git/CVS: branch/tag to be checked out
@@ -126,6 +126,9 @@ config @@fork|@@_DEVEL_BRANCH
config @@fork|@@_DEVEL_REVISION
string "Revision/changeset"
+#!foreach version if-differs repository_cset
+ default "@@repository_cset@@" if @@fork|@@_V_@@ver_sel|@@
+#!end-foreach
default "@@repository_cset@@"
help
Commit ID or revision ID to check out.
@@ -135,6 +138,9 @@ config @@fork|@@_DEVEL_REVISION
config @@fork|@@_DEVEL_SUBDIR
string "Subdirectory in the repository"
+#!foreach version if-differs repository_subdir
+ default "@@repository_subdir@@" if @@fork|@@_V_@@ver_sel|@@
+#!end-foreach
default "@@repository_subdir@@"
help
Some projects produce releases not from the top-level directory in the
@@ -143,6 +149,9 @@ config @@fork|@@_DEVEL_SUBDIR
config @@fork|@@_DEVEL_BOOTSTRAP
string "Bootstrap command"
+#!foreach version if-differs bootstrap
+ default "@@bootstrap@@" if @@fork|@@_V_@@ver_sel|@@
+#!end-foreach
default "@@bootstrap@@"
help
Command to run after checking out. Some projects don't store the generated
@@ -316,7 +325,7 @@ config @@fork|@@_VERSION
default "old" if @@fork|@@_VERY_OLD
default "unknown"
-#!if [ "@@#version@@" -gt 0 ]
+#!if [ "@@#version@@" -gt 0 ] && [ "@@src_release@@" != "n" ]
config @@fork|@@_MIRRORS
string
#!foreach version if-differs mirrors