command.py: Modify needcache value for certain functions

for findConfigFiels() and findFilesMatchingInDir() functions, they
don't need to parse all the bb files, thus setting the needcache
value to be False.

(Bitbake rev: 3ef73dee8b08ccfd15a4901cce315a99b22e71d7)

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Dongxiao Xu 2012-01-06 17:02:19 +08:00 committed by Richard Purdie
parent 2b8bd22c7c
commit 1c08843998
1 changed files with 2 additions and 2 deletions

View File

@ -241,7 +241,7 @@ class CommandsAsync:
command.cooker.findConfigFiles(varname)
command.finishAsyncCommand()
findConfigFiles.needcache = True
findConfigFiles.needcache = False
def findFilesMatchingInDir(self, command, params):
"""
@ -253,7 +253,7 @@ class CommandsAsync:
command.cooker.findFilesMatchingInDir(pattern, directory)
command.finishAsyncCommand()
findFilesMatchingInDir.needcache = True
findFilesMatchingInDir.needcache = False
def findConfigFilePath(self, command, params):
"""