Support released downloading of the RTEMS Tools and RTEMS Kernel.

Add a --without-error-reports flags to reduce the noise on --with-downloading.
This commit is contained in:
Chris Johns
2015-12-10 16:54:40 +11:00
parent fb4ba79479
commit 40e4222d87
11 changed files with 127 additions and 45 deletions

View File

@@ -111,8 +111,10 @@ class build:
return name
def _generate_report_(self, header, footer = None):
ereport.generate('rsb-report-%s.txt' % self.macros['name'],
self.opts, header, footer)
label, result = self.opts.with_arg('error-report')
if label.startswith('without') and result == 'no':
ereport.generate('rsb-report-%s.txt' % self.macros['name'],
self.opts, header, footer)
def __init__(self, name, create_tar_files, opts, macros = None):
try: