diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2009-07-23 19:51:56 +0100 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2009-07-23 19:51:56 +0100 |
commit | 1379a98b4de36b0192390a9f988ab3dcc99dcef0 (patch) | |
tree | 332a4aa554b778141d5bb69ac8e0a8f3e0de2a53 /bitbake-dev/lib/bb/command.py | |
parent | 255f45be57b2209f81ee513ebc43ce7f808c2f2b (diff) | |
download | openembedded-core-1379a98b4de36b0192390a9f988ab3dcc99dcef0.tar.gz openembedded-core-1379a98b4de36b0192390a9f988ab3dcc99dcef0.tar.bz2 openembedded-core-1379a98b4de36b0192390a9f988ab3dcc99dcef0.tar.xz openembedded-core-1379a98b4de36b0192390a9f988ab3dcc99dcef0.zip |
bitbake-dev: Remve the need for the cache for -e -b options
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'bitbake-dev/lib/bb/command.py')
-rw-r--r-- | bitbake-dev/lib/bb/command.py | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/bitbake-dev/lib/bb/command.py b/bitbake-dev/lib/bb/command.py index 4cab78e43..9226a2772 100644 --- a/bitbake-dev/lib/bb/command.py +++ b/bitbake-dev/lib/bb/command.py @@ -203,23 +203,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 |