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

git at git.openembedded.org git at git.openembedded.org
Fri Feb 1 15:55:28 UTC 2013


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

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.

(From OE-Core rev: 2d7608842d2dab07065e60aab729a5c8fd6b7907)

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=5c7c8347eb1bc25d194be6f4be142ba0924e2600




More information about the Openembedded-commits mailing list