mirror of
https://git.rtems.org/rtems-source-builder
synced 2024-10-09 07:15:10 +08:00
sb: Fix build's --with-error-report handling.
This reflects changes in the way the --with/--without options are handled. Updates #2526.
This commit is contained in:
parent
a795097477
commit
858e43bcce
@ -112,7 +112,8 @@ class build:
|
||||
|
||||
def _generate_report_(self, header, footer = None):
|
||||
label, result = self.opts.with_arg('error-report')
|
||||
if label.startswith('without') and result == 'no':
|
||||
if (label.startswith('without') and result != 'yes') or \
|
||||
(label.startswith('with') and result != 'no'):
|
||||
ereport.generate('rsb-report-%s.txt' % self.macros['name'],
|
||||
self.opts, header, footer)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user