summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDongxiao Xu <dongxiao.xu@intel.com>2012-01-06 17:02:19 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-01-06 15:55:55 +0000
commit1c0884399815cf0e42a0990bf30c6216eea741ed (patch)
tree06dbd7b72a11ea5a13a696a00d64066f89a96937
parent2b8bd22c7c98891203505a1d0a02655173d9afa3 (diff)
downloadpoky-1c0884399815cf0e42a0990bf30c6216eea741ed.tar.gz
poky-1c0884399815cf0e42a0990bf30c6216eea741ed.tar.bz2
poky-1c0884399815cf0e42a0990bf30c6216eea741ed.zip
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>
-rw-r--r--bitbake/lib/bb/command.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/bb/command.py b/bitbake/lib/bb/command.py
index 83907f6cc3..5dec6a9d09 100644
--- a/bitbake/lib/bb/command.py
+++ b/bitbake/lib/bb/command.py
@@ -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):
"""