summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2012-04-28 13:53:31 +1000
committerChris Johns <chrisj@rtems.org>2012-04-28 13:53:31 +1000
commit71b29a59f8eaf7fe24bab7ffe508bf4cbbd1ac41 (patch)
treedfa90080911dcc7c6c4fe07c3364be98e63a94e9
parent6fa80fce36b2746f2780c604541939bc9f1b447c (diff)
Have flags when there is a package error.
-rw-r--r--rtems.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/rtems.py b/rtems.py
index a98e433..470b8fd 100644
--- a/rtems.py
+++ b/rtems.py
@@ -368,6 +368,7 @@ def _load_flags(conf, arch_bsp, path):
def _load_flags_set(flags, arch_bsp, conf, config, pkg):
conf.to_log('%s ->' % flags)
if pkg is not None:
+ flagstr = ''
try:
flagstr = pkg.get(flags)
except pkgconfig.error as e: