summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2016-03-14 15:19:29 +1100
committerChris Johns <chrisj@rtems.org>2016-03-14 15:20:53 +1100
commit858e43bcce540b871fc3dc6ebba05de40bdc99fb (patch)
treebec38c997ba5e81a5f6ba591a04eae2b3e68bc68
parent4.11: Change binutils version to 2.26. (diff)
downloadrtems-source-builder-858e43bcce540b871fc3dc6ebba05de40bdc99fb.tar.bz2
sb: Fix build's --with-error-report handling.
This reflects changes in the way the --with/--without options are handled. Updates #2526.
-rw-r--r--source-builder/sb/build.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/source-builder/sb/build.py b/source-builder/sb/build.py
index 4d8787c..747ad58 100644
--- a/source-builder/sb/build.py
+++ b/source-builder/sb/build.py
@@ -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)