diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-02-10 00:07:05 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-02-10 13:36:57 +0000 |
commit | 4159ff761cf29a03aeb56c7686a4e7af02b52219 (patch) | |
tree | da1ddd6b68704b8ec1f1571f5a0903d5a8ddde8e /meta/recipes-bsp | |
parent | bb672b1591197966b79fbcf7753f995b8e829e65 (diff) | |
download | openembedded-core-4159ff761cf29a03aeb56c7686a4e7af02b52219.tar.gz openembedded-core-4159ff761cf29a03aeb56c7686a4e7af02b52219.tar.bz2 openembedded-core-4159ff761cf29a03aeb56c7686a4e7af02b52219.tar.xz openembedded-core-4159ff761cf29a03aeb56c7686a4e7af02b52219.zip |
sstate.bbclass: Optimise sstate_hardcode_path
The sstate_hardcode_path() function triggered large numbers of exec()
calls when processing packages with large numbers of file relocations
(e.g. perl). This patch optimises those calls into longer single commands
which make the code significantly more efficient.
This reduced the do_package time for perl by 2 minutes (from 4.75 minutes)
for me.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-bsp')
0 files changed, 0 insertions, 0 deletions