diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2009-07-23 19:51:03 +0100 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2009-07-23 19:51:03 +0100 |
commit | 21b5e1d2fcee728727eca85de927e452c2cfb0d3 (patch) | |
tree | abb5876a224159bda7237bc4255691964505fdb4 /lib/bb/command.py | |
parent | 157a8b835e94096168b8b5f304555dbe4b8c9ea8 (diff) | |
download | bitbake-21b5e1d2fcee728727eca85de927e452c2cfb0d3.tar.gz |
command/cooker: Remve the need for the cache for -e -b options
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'lib/bb/command.py')
-rw-r--r-- | lib/bb/command.py | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/lib/bb/command.py b/lib/bb/command.py index e6a35d45f..32befc059 100644 --- a/lib/bb/command.py +++ b/lib/bb/command.py @@ -202,23 +202,25 @@ class CommandsAsync: command.finishAsyncCommand() showVersions.needcache = True - def showEnvironmentPackage(self, command, params): + def showEnvironmentTarget(self, command, params): """ - Print the environment of a recipe + Print the environment of a target recipe + (needs the cache to work out which recipe to use) """ - bfile = params[0] - pkg = params[1] + pkg = params[0] - command.cooker.showEnvironment(bfile, pkg) + command.cooker.showEnvironment(None, pkg) command.finishAsyncCommand() - showEnvironmentPackage.needcache = True + showEnvironmentTarget.needcache = True def showEnvironment(self, command, params): """ Print the standard environment + or if specified the environment for a specified recipe """ + bfile = params[0] - command.cooker.showEnvironment() + command.cooker.showEnvironment(bfile) command.finishAsyncCommand() showEnvironment.needcache = False |