diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-02-03 17:11:58 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-02-06 13:13:00 +0000 |
commit | 85b4891a1ccfe65872435cb9b393d0eb35743b06 (patch) | |
tree | 8ec30e26af8803dc0f661afc0d25e9e695d9e158 /meta/classes/kernel.bbclass | |
parent | f2ee5b48d95a5fb824e19ae71a2938d19047b702 (diff) | |
download | poky-85b4891a1ccfe65872435cb9b393d0eb35743b06.tar.gz |
package.bbclass: Rewrite split_and_strip_files
The split_and_strip_files funciton was hard to follow and its usage of prefixes
to strings was unusual. This rewrites it to use a list of hardlinks, symlinks and
elffiles where each list is iterated over at the correct point.
This means we can avoid creating dandling symlinks for example so we can simply
delete the cleanup code for this.
The isfile() check is also removed which gives a significant improvement in speed.
Its uneeded since os.walk will have already checked things in files are files.
(From OE-Core rev: 0cd295d8cdc8cc39d6b6c7d26ea8a2a10a979d7c)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/kernel.bbclass')
0 files changed, 0 insertions, 0 deletions