mirror of
https://git.yoctoproject.org/poky
synced 2026-05-30 00:20:08 +00:00
bitbake-dev: Improve showEnvironment functionality
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
This commit is contained in:
@@ -203,16 +203,25 @@ class CommandsAsync:
|
||||
command.finishAsyncCommand()
|
||||
showVersions.needcache = True
|
||||
|
||||
def showEnvironment(self, command, params):
|
||||
def showEnvironmentPackage(self, command, params):
|
||||
"""
|
||||
Print the environment
|
||||
Print the environment of a recipe
|
||||
"""
|
||||
bfile = params[0]
|
||||
pkg = params[1]
|
||||
|
||||
command.cooker.showEnvironment(bfile, pkg)
|
||||
command.finishAsyncCommand()
|
||||
showEnvironment.needcache = True
|
||||
showEnvironmentPackage.needcache = True
|
||||
|
||||
def showEnvironment(self, command, params):
|
||||
"""
|
||||
Print the standard environment
|
||||
"""
|
||||
|
||||
command.cooker.showEnvironment()
|
||||
command.finishAsyncCommand()
|
||||
showEnvironment.needcache = False
|
||||
|
||||
def parseFiles(self, command, params):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user