summaryrefslogtreecommitdiffstats
path: root/meta/lib
diff options
context:
space:
mode:
Diffstat (limited to 'meta/lib')
-rw-r--r--meta/lib/oe/qa.py9
1 files changed, 7 insertions, 2 deletions
diff --git a/meta/lib/oe/qa.py b/meta/lib/oe/qa.py
index 9e5ab587b7..12dcd1fa49 100644
--- a/meta/lib/oe/qa.py
+++ b/meta/lib/oe/qa.py
@@ -102,5 +102,10 @@ class ELFFile:
102 env = os.environ 102 env = os.environ
103 env["LC_ALL"] = "C" 103 env["LC_ALL"] = "C"
104 104
105 self.objdump_output[cmd] = bb.process.run([ os.path.join(staging_dir, objdump), cmd, self.name ], env=env, shell=False)[0] 105 try:
106 return self.objdump_output[cmd] 106 bb.note("%s %s %s" % (objdump, cmd, self.name))
107 self.objdump_output[cmd] = bb.process.run([ os.path.join(staging_dir, objdump), cmd, self.name ], env=env, shell=False)[0]
108 return self.objdump_output[cmd]
109 except Exception, e:
110 bb.note("%s %s %s failed: %s" % (objdump, cmd, self.name, e))
111 return ""