diff options
author | Alexey Neyman <stilor@att.net> | 2017-08-19 00:17:49 -0700 |
---|---|---|
committer | Alexey Neyman <stilor@att.net> | 2017-08-19 00:18:25 -0700 |
commit | d26dc5d5f5509232e7bd162baa70697c86307079 (patch) | |
tree | 5c381b037991f0ef5a46bf539e83122894c84887 /maintainer | |
parent | 2dfa203872a73fb7b6aa4ccd440864cba74a8777 (diff) | |
download | crosstool-ng-d26dc5d5f5509232e7bd162baa70697c86307079.tar.gz crosstool-ng-d26dc5d5f5509232e7bd162baa70697c86307079.tar.bz2 crosstool-ng-d26dc5d5f5509232e7bd162baa70697c86307079.zip |
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.template | 37 |
1 files changed, 22 insertions, 15 deletions
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 |