]> code.ossystems Code Review - openembedded-core.git/commit
package: Drop subshell usage for dwarfsrcfile generation.
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 19 Jul 2018 20:59:05 +0000 (20:59 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 24 Jul 2018 10:52:07 +0000 (11:52 +0100)
commit6334129dfbe266602fab70ce445641053a05be6c
treebcfe9b174af462a063b2a09b5068b738b37a525a
parentbcd47389f4b1fc69d2bb4da01933bfa1fdcae092
package: Drop subshell usage for dwarfsrcfile generation.

The command for running dwarfsrcfiles is simple and does not need a subshell
for each execution. By expanding out this function to use check_output()
from subprocess and a list of arguments, the shell overhead can be dropped.

For recipes with lots of files this gives a significant saving.

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