[oe-commits] Richard Purdie : package: Create global package file list and use throughout PACKAGEFUNCS

git at git.openembedded.org git at git.openembedded.org
Wed Jan 30 17:51:36 UTC 2013


Module: openembedded-core.git
Branch: master-next
Commit: 64ad05f40a21ab6f1d80e66c140c73ec57186901
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=64ad05f40a21ab6f1d80e66c140c73ec57186901

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=64ad05f40a21ab6f1d80e66c140c73ec57186901




More information about the Openembedded-commits mailing list