]> code.ossystems Code Review - openembedded-core.git/commit
package: Rework debug source file handling
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 30 Jan 2019 17:42:25 +0000 (17:42 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 17 Feb 2019 10:18:48 +0000 (10:18 +0000)
commit95de93988eb725c14102f642ebabff3920ae194f
tree631d2ec07859d33c68dc6e7d596e8638e4ef11f5
parent27a8c14039970105238b66b9f3025435cb7e8a58
package: Rework debug source file handling

Currently we parallel process the files we install running dwarfsrcfiles over
each one in parallel threads but requiring a lock to write the results to one
file. This is not ideal for performance and means we can't then use per file
data for other purposes such as source code license processing.

Rework the code so that the list of source files is generated per installed
file and is reusable.

The code still generates a null separated debugsources.list file since this
is used by a shell pipeline but it no longer needs locking.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/package.bbclass