diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2015-09-27 23:58:37 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-10-01 07:43:32 +0100 |
commit | c275627212ffc3c60688cefe7e6652fb76db1756 (patch) | |
tree | cbb2792b8496d241ca44e501688629b9d83787f6 /meta/recipes-devtools/prelink/prelink_git.bb | |
parent | 434665d9334d739e3b8177bdaee83a5b28d6670f (diff) | |
download | poky-c275627212ffc3c60688cefe7e6652fb76db1756.tar.gz |
toolchain-shar-relocate.sh: make it faster
Make the extrating faster by:
* Merge the two heavy "for .. find" loops into one
* Move the commands out of for loop rather than inside, this can reduce the
forking amount.
As a result, when install:
* buildtools-nativesdk-standalone: 14s -> 7s (50% saved)
* core-image-minimal-core2-64-toolchain: 56s -> 47s (17% saved)
[YOCTO #8404]
(From OE-Core rev: a619f8e5fd8b88278d41a3d82aca5a8d03cb2907)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/prelink/prelink_git.bb')
0 files changed, 0 insertions, 0 deletions