[oe-commits] Richard Purdie : package: Create global package file list and use throughout PACKAGEFUNCS
git at git.openembedded.org
git at git.openembedded.org
Thu Jan 31 13:01:28 UTC 2013
Module: openembedded-core.git
Branch: master-next
Commit: 2d7608842d2dab07065e60aab729a5c8fd6b7907
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=2d7608842d2dab07065e60aab729a5c8fd6b7907
Author: Richard Purdie <richard.purdie at linuxfoundation.org>
Date: Tue Jan 29 14:10:30 2013 +0000
package: Create global package file list and use throughout PACKAGEFUNCS
Currently we do a signficant amount of tree traversal in many different places
which in inefficient. We can assume that the files don't change and cache the
file list which gives an efficiency improvement which this patch does using
a global variable.
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
meta/classes/buildhistory.bbclass | 11 ++---
meta/classes/debian.bbclass | 28 ++++++-------
meta/classes/insane.bbclass | 4 +-
meta/classes/package.bbclass | 78 +++++++++++++++++++-----------------
4 files changed, 60 insertions(+), 61 deletions(-)
Diff: http://git.openembedded.org/?p=openembedded-core.git/?a=commitdiff;h=2d7608842d2dab07065e60aab729a5c8fd6b7907
More information about the Openembedded-commits
mailing list