Format of the sources list is the [ (file, [source, ...]), ... ] before
this change, the static libraries were processed but the items were
included incorrectly causing no sources for static libraries to be
included.
Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
if debugsrcdir and not targetos.startswith("mingw"):
for file in staticlibs:
- results.extend(source_info(file, d, fatal=False))
+ results.append( (file, source_info(file, d, fatal=False)) )
sources = set()
for r in results: