diff options
author | Dongxiao Xu <dongxiao.xu@intel.com> | 2012-01-06 17:02:28 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-01-06 15:55:57 +0000 |
commit | eb2a8fe6c0c80632b1aa6d2bd8575ad8c2851133 (patch) | |
tree | 6d0480ee4846b57df5449aa4bf4671401576ad97 /bitbake/lib/bb/command.py | |
parent | 4c30a7e9a3fefca2b38a9ce813e67329bdd6e825 (diff) | |
download | poky-eb2a8fe6c0c80632b1aa6d2bd8575ad8c2851133.tar.gz |
cooker: remove command import in cooker.py
There is no direct use of command in cooker.py, and it is using
bb.command instead. Remove command in the import list.
This fixes a problem of embedded import between command.py and
cooker.py.
(Bitbake rev: c353316b2efcc7a893d6b4aa9a9647d51a6f69e3)
Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/command.py')
-rw-r--r-- | bitbake/lib/bb/command.py | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/bitbake/lib/bb/command.py b/bitbake/lib/bb/command.py index 701b286187..bd41f5418a 100644 --- a/bitbake/lib/bb/command.py +++ b/bitbake/lib/bb/command.py | |||
@@ -238,6 +238,17 @@ class CommandsAsync: | |||
238 | command.finishAsyncCommand() | 238 | command.finishAsyncCommand() |
239 | generateTargetsTree.needcache = True | 239 | generateTargetsTree.needcache = True |
240 | 240 | ||
241 | def findCoreBaseFiles(self, command, params): | ||
242 | """ | ||
243 | Find certain files in COREBASE directory. i.e. Layers | ||
244 | """ | ||
245 | subdir = params[0] | ||
246 | filename = params[1] | ||
247 | |||
248 | command.cooker.findCoreBaseFiles(subdir, filename) | ||
249 | command.finishAsyncCommand() | ||
250 | findCoreBaseFiles.needcache = False | ||
251 | |||
241 | def findConfigFiles(self, command, params): | 252 | def findConfigFiles(self, command, params): |
242 | """ | 253 | """ |
243 | Find config files which provide appropriate values | 254 | Find config files which provide appropriate values |