summaryrefslogtreecommitdiff
path: root/maintainer
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2017-08-19 07:17:49 (GMT)
committerAlexey Neyman <stilor@att.net>2017-08-19 07:18:25 (GMT)
commitd26dc5d5f5509232e7bd162baa70697c86307079 (patch)
tree5c381b037991f0ef5a46bf539e83122894c84887 /maintainer
parent2dfa203872a73fb7b6aa4ccd440864cba74a8777 (diff)
Use per-package list of formats to determine downloads
Fixes #789 Signed-off-by: Alexey Neyman <stilor@att.net>
Diffstat (limited to 'maintainer')
-rw-r--r--maintainer/kconfig-versions.template37
1 files changed, 22 insertions, 15 deletions
diff --git a/maintainer/kconfig-versions.template b/maintainer/kconfig-versions.template
index e7e0121..4692a25 100644
--- a/maintainer/kconfig-versions.template
+++ b/maintainer/kconfig-versions.template
@@ -167,21 +167,6 @@ endif
endchoice
-#!if [ -n "@@all_versions@@" ]
-config @@pfx@@_MIRRORS
- string
- default "@@mirrors@@"
-
-config @@pfx@@_ARCHIVE_FILENAME
- string
- default "@@archive_filename@@"
-
-config @@pfx@@_ARCHIVE_DIRNAME
- string
- default "@@archive_dirname@@"
-
-#!end-if
-
#!// Below, we explicitly select all milestones to which a given version
#!// compares greater-or-equal. We don't select just the latest applicable
#!// (and letting milestones chain-select each other, with FOO_6_or_later
@@ -260,6 +245,28 @@ config @@pfx@@_VERSION
#!end-foreach
default "unknown"
+#!if [ -n "@@all_versions@@" ]
+config @@pfx@@_MIRRORS
+ string
+ default "@@mirrors@@"
+
+config @@pfx@@_ARCHIVE_FILENAME
+ string
+ default "@@archive_filename@@"
+
+config @@pfx@@_ARCHIVE_DIRNAME
+ string
+ default "@@archive_dirname@@"
+
+config @@pfx@@_ARCHIVE_FORMATS
+ string
+#!foreach version
+ default "@@archive_formats@@" if @@pfx@@_V_@@kcfg@@
+#!end-foreach
+ default "@@archive_formats@@"
+
+#!end-if
+
#!if [ "@@nforks@@" -ge 2 ]
endif
#!end-if