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

Chris Johns chrisj at rtems.org
Tue Mar 8 11:29:58 UTC 2016


Module:    rtems-source-builder
Branch:    master
Commit:    9bae339bef11ede7fbc6615ba96e86b8e365b961
Changeset: http://git.rtems.org/rtems-source-builder/commit/?id=9bae339bef11ede7fbc6615ba96e86b8e365b961

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