From: git@git.openembedded.org
To: bitbake-devel@lists.openembedded.org
Subject: Dongxiao Xu : command.py: Modify needcache value for certain functions
Date: Fri, 6 Jan 2012 16:02:56 +0000 (UTC) [thread overview]
Message-ID: <20120106160256.CCFF51032F@opal> (raw)
Module: bitbake.git
Branch: master
Commit: 3ef73dee8b08ccfd15a4901cce315a99b22e71d7
URL: http://git.openembedded.org/?p=bitbake.git&a=commit;h=3ef73dee8b08ccfd15a4901cce315a99b22e71d7
Author: Dongxiao Xu <dongxiao.xu@intel.com>
Date: Fri Jan 6 17:02:19 2012 +0800
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>
---
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):
"""
reply other threads:[~2012-01-06 16:02 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20120106160256.CCFF51032F@opal \
--to=git@git.openembedded.org \
--cc=bitbake-devel@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.