From patchwork Fri Jan 6 09:02:19 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [bitbake-devel, 01/16] command.py: Modify needcache value for certain functions Date: Fri, 06 Jan 2012 09:02:19 -0000 From: Dongxiao Xu X-Patchwork-Id: 18623 Message-Id: <296c68cf445ecc82e4927f752c87777a58114720.1325840050.git.dongxiao.xu@intel.com> To: bitbake-devel@lists.openembedded.org for findConfigFiels() and findFilesMatchingInDir() functions, they don't need to parse all the bb files, thus setting the needcache value to be False. Signed-off-by: Dongxiao Xu --- lib/bb/command.py | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/bb/command.py b/lib/bb/command.py index 83907f6..5dec6a9 100644 --- a/lib/bb/command.py +++ b/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): """