[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:01:02 UTC 2013


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

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




More information about the Openembedded-commits mailing list