[rtems-source-builder commit] sb: Report platform import errors.

Chris Johns chrisj at rtems.org
Tue Mar 8 11:30:12 UTC 2016


Module:    rtems-source-builder
Branch:    4.11
Commit:    8268ba61a10650e6981faf4dc0a4d61c641214a8
Changeset: http://git.rtems.org/rtems-source-builder/commit/?id=8268ba61a10650e6981faf4dc0a4d61c641214a8

Author:    Chris Johns <chrisj at rtems.org>
Date:      Tue Mar  8 22:17:09 2016 +1100

sb: Report platform import errors.

---

 source-builder/sb/options.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/source-builder/sb/options.py b/source-builder/sb/options.py
index 39e5ff4..cddc880 100644
--- a/source-builder/sb/options.py
+++ b/source-builder/sb/options.py
@@ -618,6 +618,8 @@ def load(args, optargs = None, defaults = '%{_sbdir}/defaults.mc'):
             elif uname[0] == 'SunOS':
                 import solaris
                 overrides = solaris.load()
+        except error.general as ge:
+            raise error.general('failed to load %s host support: %s' % (uname[0], ge))
         except:
             raise error.general('failed to load %s host support' % (uname[0]))
     else:




More information about the vc mailing list