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:55:55 +0000 |
commit | 1c0884399815cf0e42a0990bf30c6216eea741ed (patch) | |
tree | 06dbd7b72a11ea5a13a696a00d64066f89a96937 /bitbake/lib | |
parent | 2b8bd22c7c98891203505a1d0a02655173d9afa3 (diff) | |
download | ast2050-yocto-poky-1c0884399815cf0e42a0990bf30c6216eea741ed.zip ast2050-yocto-poky-1c0884399815cf0e42a0990bf30c6216eea741ed.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.
(Bitbake rev: 3ef73dee8b08ccfd15a4901cce315a99b22e71d7)
Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib')
-rw-r--r-- | bitbake/lib/bb/command.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/bb/command.py b/bitbake/lib/bb/command.py index 83907f6..5dec6a9 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): """ |