]> code.ossystems Code Review - openembedded-core.git/commit
cache: do not chdir unnecessarily
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Fri, 4 Jun 2010 12:04:42 +0000 (14:04 +0200)
committerRichard Purdie <rpurdie@linux.intel.com>
Fri, 2 Jul 2010 14:41:35 +0000 (15:41 +0100)
commit16553b88267bd1b3ad42b2d319d380251b4d6943
tree28ff7cae842cbcf493c1044fd9e5a7bb70b9dae0
parent726802b98071f6139c9305be0383a2be20a37f4e
cache: do not chdir unnecessarily

previously we called chdir() twice for every target, this patch reduces
the amount of chdir() calls via openembedded master from some 16000 to
4.

(Bitbake rev: fa45f5625e13a82bec70d5f10815f52fbe705166)

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
bitbake/lib/bb/cache.py