summaryrefslogtreecommitdiffstats
path: root/bitbake-dev/lib/bb/command.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake-dev/lib/bb/command.py')
-rw-r--r--bitbake-dev/lib/bb/command.py15
1 files changed, 12 insertions, 3 deletions
diff --git a/bitbake-dev/lib/bb/command.py b/bitbake-dev/lib/bb/command.py
index 8667736fa1..4cab78e43b 100644
--- a/bitbake-dev/lib/bb/command.py
+++ b/bitbake-dev/lib/bb/command.py
@@ -203,16 +203,25 @@ class CommandsAsync:
203 command.finishAsyncCommand() 203 command.finishAsyncCommand()
204 showVersions.needcache = True 204 showVersions.needcache = True
205 205
206 def showEnvironment(self, command, params): 206 def showEnvironmentPackage(self, command, params):
207 """ 207 """
208 Print the environment 208 Print the environment of a recipe
209 """ 209 """
210 bfile = params[0] 210 bfile = params[0]
211 pkg = params[1] 211 pkg = params[1]
212 212
213 command.cooker.showEnvironment(bfile, pkg) 213 command.cooker.showEnvironment(bfile, pkg)
214 command.finishAsyncCommand() 214 command.finishAsyncCommand()
215 showEnvironment.needcache = True 215 showEnvironmentPackage.needcache = True
216
217 def showEnvironment(self, command, params):
218 """
219 Print the standard environment
220 """
221
222 command.cooker.showEnvironment()
223 command.finishAsyncCommand()
224 showEnvironment.needcache = False
216 225
217 def parseFiles(self, command, params): 226 def parseFiles(self, command, params):
218 """ 227 """