[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 14:16:39 UTC 2013


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

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=b2434fe11a9c0c067de5d27ccb1989f581a830e1




More information about the Openembedded-commits mailing list