@@ -755,7 +755,7 @@ def parse_debugsources_from_dwarfsrcfiles_output(dwarfsrcfiles_output):
return debugfiles.keys()
-def source_info(file, d, fatal=True):
+def source_info(file, d):
# Skip static libraries when using Clang toolchain with LTO enabled.
# In this case, .a files contain LLVM bitcode instead of ELF objects,
# and dwarfsrcfiles cannot process them.
@@ -775,9 +775,7 @@ def source_info(file, d, fatal=True):
# 255 means a specific file wasn't fully parsed to get the debug file list, which is not a fatal failure
if retval != 0 and retval != 255:
msg = "dwarfsrcfiles failed with exit code %s (cmd was %s)%s" % (retval, cmd, ":\n%s" % output if output else "")
- if fatal:
- bb.fatal(msg)
- bb.note(msg)
+ bb.fatal(msg)
debugsources = parse_debugsources_from_dwarfsrcfiles_output(output)
Nothing uses this, so clean up the code slightly. Signed-off-by: Ross Burton <ross.burton@arm.com> --- meta/lib/oe/package.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-)