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:54:46 +0000 |
commit | c353316b2efcc7a893d6b4aa9a9647d51a6f69e3 (patch) | |
tree | db34656d239ea96511dd944df026120b5381c193 /lib/bb/command.py | |
parent | 92fec2788e33d301cc63848901bc6adc764a2ecf (diff) | |
download | bitbake-c353316b2efcc7a893d6b4aa9a9647d51a6f69e3.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.
Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib/bb/command.py')
-rw-r--r-- | lib/bb/command.py | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/bb/command.py b/lib/bb/command.py index 701b28618..bd41f5418 100644 --- a/lib/bb/command.py +++ b/lib/bb/command.py @@ -238,6 +238,17 @@ class CommandsAsync: command.finishAsyncCommand() generateTargetsTree.needcache = True + def findCoreBaseFiles(self, command, params): + """ + Find certain files in COREBASE directory. i.e. Layers + """ + subdir = params[0] + filename = params[1] + + command.cooker.findCoreBaseFiles(subdir, filename) + command.finishAsyncCommand() + findCoreBaseFiles.needcache = False + def findConfigFiles(self, command, params): """ Find config files which provide appropriate values |