From 1c0884399815cf0e42a0990bf30c6216eea741ed Mon Sep 17 00:00:00 2001 From: Dongxiao Xu Date: Fri, 6 Jan 2012 17:02:19 +0800 Subject: 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 Signed-off-by: Richard Purdie --- bitbake/lib/bb/command.py | 4 ++-- 1 file 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): """ -- cgit v1.2.3-54-g00ecf