From d26dc5d5f5509232e7bd162baa70697c86307079 Mon Sep 17 00:00:00 2001 From: Alexey Neyman Date: Sat, 19 Aug 2017 00:17:49 -0700 Subject: Use per-package list of formats to determine downloads Fixes #789 Signed-off-by: Alexey Neyman --- maintainer/kconfig-versions.template | 37 +++++++++++++++++++++--------------- 1 file changed, 22 insertions(+), 15 deletions(-) (limited to 'maintainer') diff --git a/maintainer/kconfig-versions.template b/maintainer/kconfig-versions.template index e7e01212..4692a254 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 -- cgit v1.2.3