diff options
author | Dongxiao Xu <dongxiao.xu@intel.com> | 2012-01-06 17:02:19 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-01-06 15:54:45 +0000 |
commit | 3ef73dee8b08ccfd15a4901cce315a99b22e71d7 (patch) | |
tree | 8be94e6294a98b6053058a6b4bebd72d28453d8c | |
parent | bc954f74620959703a0e921fcac3a6892675fe0d (diff) | |
download | bitbake-3ef73dee8b08ccfd15a4901cce315a99b22e71d7.tar.gz |
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.
Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | 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 83907f6cc..5dec6a9d0 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): """ |