mirror of
https://git.rtems.org/rtems-source-builder
synced 2024-10-09 07:15:10 +08:00
sb: Update download to check the config file for release URL control.
Provide without_release_url support in the configuration file so the release tarball download of the kernel and tools uses the release's top level directory and not the sources directory. Closes #2481.
This commit is contained in:
@@ -566,6 +566,9 @@ def get_file(url, local, opts, config):
|
||||
if version.released():
|
||||
rtems_release_url = rtems_release_url_value
|
||||
with_rel_url = opts.with_arg('release-url')
|
||||
if with_rel_url[1] == 'not-found':
|
||||
if config.defined('without_release_url'):
|
||||
with_rel_url = ('without_release-url', 'yes')
|
||||
if with_rel_url[0] == 'with_release-url':
|
||||
if with_rel_url[1] == 'yes':
|
||||
rtems_release_url = rtems_release_url_value
|
||||
|
Reference in New Issue
Block a user